second clear command on the terminal appears in the terminal window tab and get stuck their
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Dupe Check
- I have searched Warp bugs and there are no duplicates
Describe the bug
Ubuntu 22.04.4 LTS (Codename: jammy) . laptop is a Lenovo ThinkPad P14s Gen 4 with the model number 21HGS1E500.
Doing clear two times on a new terminal pops the clear command out of the terminal on top of the widow tab, after doing a regular command after "clearing" it pops the clear commands down and it is like it did not clear at all.
To reproduce
When you open a new terminal session then do clear for the first time it wont clear it goes to the next line, then after doing clear again it clears but the clear command text is shown on top of the terminal bar until i type the next clear command and it disappear but then if i type again clear it will again appear on the widow tab. if i do a standart command it will pop the last commands i did like it never cleared from the beginning. i think that there are several bugs here but this is the flow.
Expected behavior
when i do clear i want it to clear the screen, the command popping out of the terminal to the tab is annoying and also if i do a normal command why is it showing me the last commands and going down? it is also not good.
Screenshots
Operating system
Linux
Operating system and version
Ubuntu 22.04.4 LTS (Codename: jammy)
Shell Version
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
Current Warp version
v0.2024.07.16.08.02.stable_02
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the two-clear sequence in Warp on Ubuntu 22.04.4 with zsh 5.8.1, then inspect the terminal clear and rendering entry points. Done means repeated clear commands remove the prior display, do not appear in the tab, and a later command does not restore old content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust, zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100