[BUG] Claude Code interactive TUI in Konsole 23.08.5 — overwrites existing screen output instead of starting at current cursor position
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
On launch, Claude Code’s interactive TUI renders at the top-left corner (row 0) and overwrites existing screen contents instead of starting at the current cursor position below prior output.
On exit, Claude Code does not restore cursor position / terminal screen state, leaving the shell prompt drawn on top of previous output.
This happens in Konsole (23.08.5) but _not_ in GNOME Terminal on the same machine.
Claude used to behave as I expect and only recently (circa 2026-01-19) began exhibiting this behavior.
What Should Happen?
Claude should start on the first row after existing content and or use alternate-screen mode.
Error Messages/Logs
Steps to Reproduce
Open a terminal shell using Konsole 23.08.5 (I have not tested other versions.)
Hit enter a few times or ls or anything to move your cursor position down.
Launch claude
The TUI will start at terminal line 0.
exit
You are returned to a shell prompt at line 0
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.14 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Xterm
Additional Information
<img width="1262" height="613" alt="Image" src="https://github.com/user-attachments/assets/4ad14587-f45c-486e-a78d-6be009ec7911" />
8 Comments
+1
The bug is still present in Claude Code
2.1.50Still present in 2.1.66.
And affects Konsole 24.08.1.
As the OP noted, Claude Code didn't used to have this bug - it's a regression that just started recently.
This just happened to me on Kubuntu 24.04
Doesn't happen on another computer running CachyOS with fairly new updates and COSMIC desktop, also latest Claude Code. Probably down to the newer Konsole version?
Can confirm, still present in 2.1.70!
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
What? You just close bugs because you don't work on them? Uh, OK.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.