dracula / zsh

🧛🏻‍♂️ Dark theme for ZSH
https://draculatheme.com/zsh
MIT License
267 stars 70 forks source link

Issue in showing arrow in Tmux #30

Closed kirpalricky closed 3 years ago

kirpalricky commented 3 years ago

In tmux instead of an arrow, an underscore is shown.

Screenshot 2021-06-03 at 6 54 35 PM
avalonwilliams commented 3 years ago

This is most likely an issue with the way your terminal emulator and tmux display fonts and symbols, unicode character display (especially with tmux on) can be quite finnicky in many terminal emulators. In addition you might not have a font with the unicode symbol on your computer.

As a temporary fix, you can override the arrow icon in your zshrc, two possible soulutions that I've found in the past are adding a space character after the arrow character, which some terminals need to display larger unicode characters, like so:

DRACULA_ARROW_ICON='➜ '

If this doesn't work you can try setting the arrow icon to a more generic unicode character, like so

DRACULA_ARROW_ICON='→'

In addition please post what terminal you're using, the fonts you are using, your .zshrc, and your .tmux.conf

kirpalricky commented 3 years ago

Temporary fix didn't work.

Additional Information:

Terminal is default OSX Terminal (Catalina 10.15.7) Font being used is Monaco

The arrow is working fine without tmux. So attaching my tmux.conf tmux.conf.txt

kirpalricky commented 3 years ago

Hi solved the issue by following solution proposed on this issue

Basically needed to start tmux with -u pramaeter.