From 09463810c44170036f24089e55af72fa7b147d76 Mon Sep 17 00:00:00 2001 From: DexterFromLab Date: Mon, 9 Mar 2026 15:26:33 +0100 Subject: [PATCH] Fix terminal scroll behavior and Claude Code tab titles Disable auto-scroll on output so users can read scrollback without being jumped to bottom. Keep Claude Code tab names from config instead of overwriting with generic VTE title. Co-Authored-By: Claude Opus 4.6 --- bterminal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bterminal.py b/bterminal.py index 6f4caba..91110b4 100755 --- a/bterminal.py +++ b/bterminal.py @@ -1504,7 +1504,7 @@ class TerminalTab(Gtk.Box): self.terminal = Vte.Terminal() self.terminal.set_font(Pango.FontDescription(FONT)) self.terminal.set_scrollback_lines(SCROLLBACK_LINES) - self.terminal.set_scroll_on_output(True) + self.terminal.set_scroll_on_output(False) self.terminal.set_scroll_on_keystroke(True) self.terminal.set_audible_bell(False) @@ -1733,6 +1733,9 @@ class TerminalTab(Gtk.Box): if self.session: # SSH tab: keep session name, show VTE title in window title only self.app.update_tab_title(self, self.session.get("name", "SSH")) + elif self.claude_config: + # Claude Code tab: keep config name instead of generic VTE title + self.app.update_tab_title(self, self.claude_config.get("name", "Claude Code")) else: self.app.update_tab_title(self, title)