mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
...
This commit is contained in:
@@ -524,6 +524,11 @@ class Window:
|
|||||||
get_boss().close_window(self)
|
get_boss().close_window(self)
|
||||||
|
|
||||||
def send_text(self, *args: str) -> bool:
|
def send_text(self, *args: str) -> bool:
|
||||||
|
'''
|
||||||
|
@ac:misc: Send the specified text to the active window
|
||||||
|
|
||||||
|
For details, see :sc:`send_text`.
|
||||||
|
'''
|
||||||
mode = keyboard_mode_name(self.screen)
|
mode = keyboard_mode_name(self.screen)
|
||||||
required_mode_, text = args[-2:]
|
required_mode_, text = args[-2:]
|
||||||
required_mode = frozenset(required_mode_.split(','))
|
required_mode = frozenset(required_mode_.split(','))
|
||||||
|
|||||||
Reference in New Issue
Block a user