When running kitty @ ls also output the current layout for each tab

This commit is contained in:
Kovid Goyal 2018-10-12 18:19:50 +05:30
parent 787100a4dc
commit 093c05e16a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -439,6 +439,7 @@ class TabManager: # {{{
'id': tab.id, 'id': tab.id,
'is_focused': tab is active_tab, 'is_focused': tab is active_tab,
'title': tab.name or tab.title, 'title': tab.name or tab.title,
'layout': tab.current_layout.name,
'windows': list(tab.list_windows(active_window)), 'windows': list(tab.list_windows(active_window)),
} }