IlanCosman / tide

🌊 The ultimate Fish prompt.
MIT License
2.84k stars 103 forks source link

exit status not displaying properly in kitty terminal #414

Open feyzee opened 1 year ago

feyzee commented 1 year ago

Describe the bug

Exit status on right side of the prompt is showing a dark block instead of the tick mark when the last command's exit status is successful. If exit status was an error then it shows proper one(red background with an 'X' character).

I'm using Victor Mono nerd fonts and non nerd fonts also has the same issue. The terminal i'm using is Kitty. It works in VS Code terminal without any problem. I'm facing this issue with both dark and light themes.

Steps to reproduce

  1. Open kitty terminal
  2. Run ls command(or any other command as long as the exit status is success)

Screenshots

Kitty screenshot

image

Vscode screenshot

image

Environment

Output of tide bug-report:

fish version: 3.6.1
tide version: 5.5.1
term: xterm-kitty
os: Fedora 36
terminal emulator: Kitty
fish startup: 163.46 millis
fisher plugins: jorgebucaran/fisher jorgebucaran/autopair.fish gazorby/fish-abbreviation-tips franciscolourenco/done IlanCosman/tide@v5 joseluisq/gitnow@2.10.0 PatrickF1/fzf.fish b4b4r07/enhancd hunter-richardson/fish-bax catppuccin/fish
feyzee commented 1 year ago

this problem seems to be similar to #403. just like that issue k8s cluster text is showing up in darker color in kitty and lighter color in vscode.