This commit is contained in:
Kovid Goyal
2020-03-09 17:24:51 +05:30
parent ac2c21e046
commit 3c2f3ecd8e
3 changed files with 6 additions and 6 deletions

View File

@@ -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', '')