On 7/27/16 10:30 AM, Steve Jones wrote:
> I've just started testing the new readline/bash and found two issues.
>
> dump-variables() always shows the default variables for
> vim-*-mode-string or the emacs-mode-string. here is a fix for that one.
Thanks for the report and fix.
> The other is that if non-printing characters are used in the
> *-mode-strings then the strings starts leaking into the line. This
> happens with both vi and emacs mode. Also the show-mode string is not
> updated correctly when switching between modes. my strings are:
>
> set emacs-mode-string "\1\e[1;34m\2@\1\e[0m\2 "
> set vi-ins-mode-string "\1\e[1;32m\2+\1\e[0m\2 "
> set vi-cmd-mode-string "\1\e[1;31m\2-\1\e[0m\2 "
I can't reproduce this in bash, even with a PS1 that contains non-printing
characters. Can you explain how you are reproducing this?
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline