mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 23:44:59 +02:00
Fix #2420
This commit is contained in:
@@ -35,7 +35,7 @@ class ScrollWindow(RemoteCommand):
|
||||
|
||||
def message_to_kitty(self, global_opts: RCOptions, opts: 'CLIOptions', args: ArgsType) -> PayloadType:
|
||||
amt = args[0]
|
||||
amount: Tuple[Union[str, int], Optional[str]] = amt, None
|
||||
amount: Tuple[Union[str, int], Optional[str]] = (amt, None)
|
||||
if amt not in ('start', 'end'):
|
||||
pages = 'p' in amt
|
||||
amt = amt.replace('p', '')
|
||||
|
||||
Reference in New Issue
Block a user