1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-03 16:30:07 +00:00

wizard: prefer POWERLEVEL9K_MODE=nerdfont-complete over nerdfont-v3

Apparently Windows Terminal has a bug. To reproduce:

    print -P '\UF0737%K{red} %k'

The expected output:

    x_

Here 'x' signifies any glyph of width 1, and '_' signifies a red
block.

The actual output:

    x _

Notice the space.

The output of the following two commands is as expected:

    print -P '\UFC35%K{red} %k'
    print -P '\UFC35x'
This commit is contained in:
Roman Perepelitsa 2023-04-03 14:23:14 +02:00
parent 8167383665
commit b474978b2e

View file

@ -2094,13 +2094,13 @@ while true; do
elif (( ! cap_diamond )); then
POWERLEVEL9K_MODE=awesome-fontconfig
else
ask_arrow '\UF0737' || continue
ask_arrow '\uFC35' || continue
if (( cap_arrow )); then
POWERLEVEL9K_MODE=nerdfont-v3
POWERLEVEL9K_MODE=nerdfont-complete
else
ask_arrow '\uFC35' "Let's try another one." || continue
ask_arrow '\UF0737' "Let's try another one." || continue
if (( cap_arrow )); then
POWERLEVEL9K_MODE=nerdfont-complete
POWERLEVEL9K_MODE=nerdfont-v3
else
POWERLEVEL9K_MODE=awesome-fontconfig
ask_python || continue