warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.77k stars 348 forks source link

Cycling through options in interactive prompts creates visual artifacts #1942

Open Theofilos-Chamalis opened 1 year ago

Theofilos-Chamalis commented 1 year ago

Discord username (optional)

No response

Describe the bug

When cycling through options in interactive prompts inside the Warp terminal, there are visual artifacts that are created. This can be seen here: https://d.pr/v/HU04R0

Notes:

To Reproduce

Install the Auth0 CLI and try to cycle through options in the interactive prompt created.

Expected behaviour

There should not be visual artifacts

Screenshots

https://d.pr/v/HU04R0

Operating System

MacOS

OS Version

12.6

Shell Version

zsh 5.8.1 (x86_64-apple-darwin21.0)

Warp Version

v0.2022.10.04.08.05.stable_00

Additional context

No response

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

elviskahoro commented 1 year ago

@Theofilos-Chamalis Do you have any plugins? Particularly whatever is coloring your buffer text. Chances are Warp is incompatible with one of your plugins. There is now native support for syntax highlighting.

dannyneira commented 1 year ago

You can run echo 'ZDOTDIR=/' > ~/.zshenv to setup a clean configuration of zsh, if that fixes the issue then it may be some plugin like elvis mentioned.

You can 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

We have a list of incompatible tools here: https://docs.warp.dev/help/known-issues#list-of-incompatible-tools And more info on custom prompts here: https://docs.warp.dev/features/prompt