Allow specifying whether to count windows at prompts or not for confirm_clsoe

This commit is contained in:
Kovid Goyal
2021-08-20 17:13:42 +05:30
parent 8397970bf8
commit 5bc569c4dd
4 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -880,7 +880,7 @@ class Parser:
ans['command_on_bell'] = to_cmdline(val)
def confirm_os_window_close(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['confirm_os_window_close'] = positive_int(val)
ans['confirm_os_window_close'] = int(val)
def copy_on_select(self, val: str, ans: typing.Dict[str, typing.Any]) -> None:
ans['copy_on_select'] = copy_on_select(val)