Add an :option:launch --watcher option that allows defining callbacks that are called for various events in the window's life-cycle

Fixes #2440
This commit is contained in:
Kovid Goyal
2020-03-28 12:13:42 +05:30
parent 8c23f9e526
commit 747ac85e7c
6 changed files with 104 additions and 11 deletions
+4
View File
@@ -121,6 +121,10 @@ def file(x: str) -> str:
return italic(x)
def doc(x: str) -> str:
return f'https://sw.kovidgoyal.net/kitty/{x}.html'
OptionSpecSeq = List[Union[str, OptionDict]]