mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 06:25:13 +02:00
Allow passing a "reset" argument to resize_window
This commit is contained in:
@@ -211,7 +211,7 @@ def resize_window(func: str, rest: str) -> FuncArgsType:
|
||||
args = ['wider', 1]
|
||||
else:
|
||||
quality = vals[0].lower()
|
||||
if quality not in ('taller', 'shorter', 'wider', 'narrower'):
|
||||
if quality not in ('reset', 'taller', 'shorter', 'wider', 'narrower'):
|
||||
log_error(f'Invalid quality specification: {quality}')
|
||||
quality = 'wider'
|
||||
increment = 1
|
||||
|
||||
Reference in New Issue
Block a user