]> arthur.barton.de Git - ax-zsh.git/commit
Implement new axzsh_is_widechar_terminal() function
authorAlexander Barton <alex@barton.de>
Thu, 6 Jul 2017 20:55:35 +0000 (22:55 +0200)
committerAlexander Barton <alex@barton.de>
Thu, 6 Jul 2017 20:55:35 +0000 (22:55 +0200)
commitff140cf81ac4b3246bde3a5b4b3f3c82e5e7a6b2
treee9da39c8365fd4bffc4c40797b40911ee95c0ccc
parentf06f3b9517b5757a6d4f39db1d4be4ee3d1904f8
Implement new axzsh_is_widechar_terminal() function

This function tries to detect if the current terminal can display "wide
characters" or not.

Idea:
<https://unix.stackexchange.com/questions/184345/detect-how-much-of-unicode-my-terminal-supports-even-through-screen>

At the moment, this function is used by the "axemoji" theme and the
default "right side error prompt" to not use wide characters that would
destroy the layout of the terminal used.
core/11_terminal/11_terminal.zshrc
themes/ax.axzshtheme
themes/axemoji.axzshtheme