warp icon indicating copy to clipboard operation
warp copied to clipboard

Missing colors in additional blocks

Open ember-ana opened this issue 3 years ago • 0 comments

Discord username (optional)

No response

Describe the bug

When configuring a command in zsh to run on every prompt, e.g. through

autoload -Uz add-zsh-hook
add-zsh-hook precmd some_command

it's possible to write additional output after a command has returned. This will create a new block in warp, but the block will not be colored as it should be, and will instead always be the default color.

To Reproduce

Please don't judge me for this one. I found this issue while setting up https://github.com/sudofox/shell-mommy for zsh using https://github.com/sudofox/shell-mommy/pull/21/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R30 this code to make it work.

Expected behavior

No response

Screenshots

Expected coloring

Actual coloring

Operating System

MacOS

Operating System and Version

13.2.1

Shell Version

zsh 5.8.1 (x86_64-apple-darwin22.0)

Warp Version

v0.2023.05.09.08.03.stable_01

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:b8107fdf-ba31-488d-b103-d271c89cac3e

None

ember-ana avatar May 18 '23 12:05 ember-ana