mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
typo
This commit is contained in:
parent
229134cf31
commit
e6839b45e3
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ def yesno(cli_opts: AskCLIOptions, items: List[str]) -> Response:
|
|||
tty.setraw(sys.stdin.fileno())
|
||||
try:
|
||||
response = sys.stdin.buffer.read(1)
|
||||
yes = response in (b'y', b'Y', b'\r', b'\n' b' ')
|
||||
yes = response in (b'y', b'Y', b'\r', b'\n', b' ')
|
||||
return {'items': items, 'response': 'y' if yes else 'n'}
|
||||
finally:
|
||||
sys.stdout.write(set_cursor_visible(True))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue