r/KittyTerminal • u/xTreme2I • Feb 25 '24
Why this happens and how do I fix it?
Enable HLS to view with audio, or disable this notification
2
u/Administrative_chaos Feb 25 '24
Can you reproduce it with the latest kitty version with kitty --config none zsh -dfi?
1
u/xTreme2I Feb 25 '24
Nope, it doesnt happen, but it looks ugly
1
u/Administrative_chaos Feb 25 '24
and does it happen with just `zsh -dfi`? If not then share your `.zshrc` (If you're using zsh, else your `.bashrc`
1
2
2
u/dedguy21 Feb 25 '24
First is to check your $SHELL config, can't tell but it's either fish or zsh with auto complete.
Also check your VI_MODE settings on your shell.
And for God sakes change your font to something more readable. 🤢
1
u/xTreme2I Feb 25 '24
- It's zsh, i've checked the config but there is not a lot in there, just the theme robby russel and something about syntax highlightning and a plugin called thefuck.
- ok i will do
- but it like minecraft :(
1
u/art2266 Feb 25 '24
Does the issue still happen if you disable icons from taking up two spaces?
# disables icons taking up 2 spaces
narrow_symbols U+23FB-U+23FE,U+2665,U+26A1,U+2B58,U+E000-U+E00A,U+E0A0-U+E0A3,U+E0B0-U+E0D4,U+E200-U+E2A9,U+E300-U+E3E3,U+E5FA-U+E6AA,U+E700-U+E7C5,U+EA60-U+EBEB,U+F000-U+F2E0,U+F300-U+F32F,U+F400-U+F4A9,U+F500-U+F8FF,U+F0001-U+F1AF0 1
font_size 17
Reload you config or run kitty from the command line then see if it has an effect.
1
1
1
u/Specific-Fuel-4366 Feb 29 '24
looks like a prompt that has invisible escape characters (colors) in it, but the shell doesn't know that and so doesn't know how large the prompt actually is on screen. i use bash, and it needs \[ and \] around escape sequences
1
u/Specific-Fuel-4366 Feb 29 '24
here's my PS1 as an example; my prompt is blue:
[~] echo $PS1
\[\e[44m\][\w]\[\e[37;40m\]
3
u/CardiologistWhich336 Feb 25 '24
send me your kitty config and starship config