From 315fa53198d6fd7b79319f5a7150c1d339fe558d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 19 Dec 2025 11:46:12 +0530 Subject: [PATCH] Add active tab history to @ ls output Useful for tools wanting to list tabs in MRU order. Fixes #9303 --- kitty/boss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kitty/boss.py b/kitty/boss.py index 27cd65f8b..e96875f4f 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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,