Open Zaberahmed opened 2 months ago
Hi @Zaberahmed sorry about this. I'm having trouble reproducing this on Ubuntu Linux 22.04. As a possible workaround, use CTRL-SHIFT-K to clear the blocklist in a session instead of running clear
Is the issue consistently reproducible for you? Do you have any alias for clear
or cli tools that interacts with clear
? If so then there could be something in your rc file causing this issue and Warp cannot parse it.
We have a list of known incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools
Please disable parts of your dotfiles just for Warp by using this conditional statement:
# Bash and Zsh
if [[ $TERM_PROGRAM != "WarpTerminal" ]]; then
# > What you want to disable here <
fi
Hey @dannyneira thanks for your time. I donot have any alias for 'clear' nor any cli tool interacting with clear (that I know of).I was checking the incompatible tools list and found oh-my-zsh themes, plugins and FZF to be possible suspects. Will debug the issue using the provided code snippet to know the specific tool causing the issue and let you know.
@Zaberahmed thanks for clarifying. The main issue is that Warp's implementation of clear.
One workaround you could consider is to press CTRL-L
to clear the screen or you can press CTRL-SHIFT-K
to delete all the blocks in the entire session as it may be more in line with traditional terminal clear behavior.
https://github.com/user-attachments/assets/096b4a83-0022-401b-9433-a5881202335f
@dannyneira thanks for the video and the workaround. Appreciate it.
Dupe Check
Describe the bug
Using clear on other terminal apps completely clear all previous blocks away but in warp they get moved up (I am using initial terminal position at the top). Sometimes using the clear command gets meshed up with the pane title section.
To reproduce
Fill up the warp terminal with some commands, and then use 'clear' command to clear previous blocks and start afresh.
Expected behavior
No response
Screenshots
Operating system
Linux
Operating system and version
23.04
Shell Version
zsh 5.9 (x86_64-ubuntu-linux-gnu)
Current Warp version
v0.2024.06.25.08.02.stable_01
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