Add active tab history to @ ls output

Useful for tools wanting to list tabs in MRU order.
Fixes #9303
This commit is contained in:
Kovid Goyal 2025-12-19 11:46:12 +05:30
parent 4f73374a12
commit 315fa53198
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -508,6 +508,7 @@ def list_os_windows(
'is_focused': focused_wid == os_window_id,
'last_focused': os_window_id == last_focused,
'tabs': tabs,
'active_tab_history': tuple(tm.active_tab_history),
'wm_class': tm.wm_class,
'wm_name': tm.wm_name,
'background_opacity': bo,