diff --git a/src/hqt/tmux/runner.py b/src/hqt/tmux/runner.py index 4b79ea7..25e0cbb 100644 --- a/src/hqt/tmux/runner.py +++ b/src/hqt/tmux/runner.py @@ -57,9 +57,12 @@ _SESSION_THEME_OPTIONS: list[tuple[str, str]] = [ f"#[fg={_FRAPPE['crust']},bg={_FRAPPE['blue']},bold] #S " f"#[fg={_FRAPPE['blue']},bg={_FRAPPE['mantle']},nobold] ", ), - ("status-right-length", "40"), + ("status-right-length", "64"), ( "status-right", + # Lead with the focused pane's terminal title (whatever the harness sets, + # truncated to 21 cols) — this restores the preview tmux shows by default. + f"#[fg={_FRAPPE['text']},bg={_FRAPPE['mantle']}] #{{=21:pane_title}} " f"#[fg={_FRAPPE['overlay1']},bg={_FRAPPE['mantle']}] %H:%M " f"#[fg={_FRAPPE['crust']},bg={_FRAPPE['blue']},bold] %d %b ", ),