sorin-ionescu / prezto

The configuration framework for Zsh
MIT License
13.87k stars 4.49k forks source link

Odd curser movement #690

Closed flaviut closed 9 years ago

flaviut commented 9 years ago

It's hard to describe with text, so a screncast is the best way: http://a.pomf.se/ogdzhi.mkv

I'm quite new, so I have no idea where to start troubleshooting.

sorin-ionescu commented 9 years ago

I cannot replicate the cursor issue on my system. What did you enable?

Your second bullet-point is not descriptive enough.

flaviut commented 9 years ago

I agree that my second bullet is not particulaty descriptive, but it's hard to describe and covered in the screncast.

For the purposes of testing, I have both disabled everything but completion, as well as deleted .z* and reinstalled prezto. I can reproduce it in both xterm and termite.

sorin-ionescu commented 9 years ago

It's probably terminal related.

flaviut commented 9 years ago

I've tried a couple more terminals - the a TTY, as well as urxvt. It still doesn't work. I also tried a new account, same problem.

flaviut commented 9 years ago

Thanks anyways - I'll see if I can come to a resolution and post it here.

sorin-ionescu commented 9 years ago

Try gnome-terminal, kde-terminal, something more modern.

flaviut commented 9 years ago

Excuse the incorrect unicode rendering, but konsole doesn't seem to work either:

I couldn't get gnome-terminal to work, but lilyterm is supposed to be based on the same library:

sorin-ionescu commented 9 years ago

Are wide fonts (UTF-8) enabled? What font are you using? I'm pretty sure it's a rendering bug.

flaviut commented 9 years ago

Wide fonts are not enabled in konsole, but the bug can still be seen and I don't use konsole so I don't care enough to fix it.

I've found a workaround that works well enough for me - deleting RPROMPT, the loss of which I don't really mind.

flaviut commented 9 years ago

Actually, it was my fault all along. It seems that most terminal emulators will render UTF-8, even without actually having the LANG set to UTF-8. echo 'LANG=en_US.UTF-8' >> /etc/locale.conf fixes everything.

Thanks for the help!