mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Implement window listing
This commit is contained in:
@@ -36,7 +36,9 @@ def cmd_ls(global_opts, opts, args):
|
||||
|
||||
|
||||
def ls(boss, window):
|
||||
raise NotImplementedError()
|
||||
data = list(boss.list_os_windows())
|
||||
data = json.dumps(data, indent=2, sort_keys=True)
|
||||
return data
|
||||
|
||||
|
||||
def handle_cmd(boss, window, cmd):
|
||||
|
||||
Reference in New Issue
Block a user