New issue 45 by dion...@videolan.org: erroneous cursor position
http://code.google.com/p/shellinabox/issues/detail?id=45
What steps will reproduce the problem?
1. Use the following PS1 for zsh: "%{^[[33;36;1m%}%T%{^[[0m%}
%{^[[33;31;1m%}%n%{^[[0m^[[33;33;1m%}@%{^[[33;37;1m%}%m
%{^[[33;32;1m%}%~%{^[[0m^[[33;33;1m%}%#%{^[[0m%} " (you'll need to retype
the ^[ chars)
2. The cursor will appear inside the PS1 output if no character is typed on
the line. The cursor is correctly aligned for lines containing 1 or more
characters.
Note that using a similar line on bash doesn't cause the same problem
("\[\e[1;36m\]\A \[\e[1;31m\]\u\[\e[1;33m\]@\[\e[1;37m\]\h
\[\e[1;32m\]\w\[\e[1;33m\]% \[\e[0m\]").
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
I forgot to mention that this is using svn r200. (It is also reproducible
with 2.10)
Yup, that fixed it. Thanks!
Comment #4 on issue 45 by zod...@gmail.com: erroneous cursor position
http://code.google.com/p/shellinabox/issues/detail?id=45
Thank you! This fixes a bunch of other bugs, too, I think.
Jan, I owe you a beer :-)