thestinger/termite

% (percent) symbol appears in upper left corner of small terminals when rapid prompt enabled in zsh

kylebarbour opened this issue · 4 comments

When I open small windows, a black-on-white percent symbol (see below) appears in the upper left corner. I notice this in conjunction with the rapid prompt options of zsh and powerlevel10k with minimal configuration settings, but can occur with zsh alone. Initially, I reported this against powerlevel10k (see romkatv/powerlevel10k/issues/887), but the maintainer was kind enough to clarify that the problem is in the terminal.

Percent in corner

I can verify that this occurs simultaneously with the terminal incorrectly reporting the starting dimensions as seen by putting stty size or typeset -p LINES COLUMNS at the top of .zshrc as suggested by the powerlevel10k maintainer. He suggested that this might be a results of a buggy VTE implementation, but that's past my personal knowledge.

System:

$ uname -srv
Linux 5.7.7-arch1-1 #1 SMP PREEMPT Wed, 01 Jul 2020 14:53:16 +0000

Window manager:

$ bspwm -v
0.9.7-10-g2ffd9c1
$ pacman -Qe | grep -e bspwm
bspwm 0.9.9-2

Terminal:

$ termite -v
termite v15
$ pacman -Qe | grep -e termite
termite 15-2

I installed termite using the standard Arch Linux repository via pacman -S.

Thank you for your software!

I think this is a duplicate of #741

You should try to comment this lines in your zshrc, it works for me.

Write changes and close terminal, when open new instance only appears the prompt without % (percent) symbol.

image

@jessdot Of course; the bug report is against this occuring with transient prompt enabled.

Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.