Checkbox Glitch in Powerlevel10k with Foot Terminal
Basically, the title says it all. I reported an issue to the dev of foot, and he said it’s an issue in p10k Here is the issue link
https://github.com/user-attachments/assets/7754cb69-1ef8-4fa8-9bca-3a6bec357ff0
What happens if you add the following lines at the very top of ~/.zshrc?
typeset -p COLUMNS
stty size
sleep 1
typeset -p COLUMNS
stty size
typeset -p COLUMNS stty size sleep 1 typeset -p COLUMNS stty size
i get this when i lunch new terminal window
This shows that the TTY declares its dimensions as 80x24 for some time after being created, and then switches to reporting the correct dimensions. As the result, zsh prints the initial prompt that is 80 columns wide, and then repaints its 116-column version when the TTY dimensions "change".
This means that the issue is either with the terminal, or with the window manager.
This shows that the TTY declares its dimensions as 80x24 for some time after being created, and then switches to reporting the correct dimensions. As the result, zsh prints the initial prompt that is 80 columns wide, and then repaints its 116-column version when the TTY dimensions "change". This means that the issue is either with the terminal, or with the window manager.
so whats next i use sway as my window manager and this problem only occur in foot?
It's up to you whether and what to do next.
It's up to you whether and what to do next.
which one i should go to and what to say exactly?
It's up to you whether and what to do next.
hey this problem also happen in alacritty
Note that you've already reproduced the bug without powerlevel10k here: https://github.com/romkatv/powerlevel10k/issues/2808#issuecomment-2564427164. This test shows without a shadow of a doubt that the issue is not in powerlevel10k or even zsh. It's in the terminal or the window manager.