You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run Claude Code inside a Sublime Text Terminus tab, the buffer grows without bound over a long session. After enough conversation the scrollback becomes unusable — jumping entire screens on a single pixel of scroll bar movement.
This single-file Sublime Text plugin solves it silently:
Every 4 seconds it appends any new text from the Claude tab to a daily log file at ~/.claude/conversation_logs/claude_YYYY-MM-DD.log — so nothing is lost.
A command (ctm_trim_now) removes lines from the top of the buffer in batches, logging each batch before deletion, and adjusts Terminus's scroll offset so the view doesn't jump.
Once installed, the problem disappears and you stop thinking about it.
Requirements: Sublime Text 4, Terminus package, Claude Code. The plugin looks for a Terminus tab named exactly "Claude".
Drop claude_tab_manager.py into your Sublime Text User package folder (Packages/User/).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you run Claude Code inside a Sublime Text Terminus tab, the buffer grows without bound over a long session. After enough conversation the scrollback becomes unusable — jumping entire screens on a single pixel of scroll bar movement.
This single-file Sublime Text plugin solves it silently:
~/.claude/conversation_logs/claude_YYYY-MM-DD.log— so nothing is lost.ctm_trim_now) removes lines from the top of the buffer in batches, logging each batch before deletion, and adjusts Terminus's scroll offset so the view doesn't jump.Once installed, the problem disappears and you stop thinking about it.
Requirements: Sublime Text 4, Terminus package, Claude Code. The plugin looks for a Terminus tab named exactly
"Claude".Drop
claude_tab_manager.pyinto your Sublime Text User package folder (Packages/User/).Source: https://github.com/dpc00/SText/blob/main/claude_tab_manager.py
Beta Was this translation helpful? Give feedback.
All reactions