On Tue, 17 Jun 2014 23:48:55 -0700, Eugene M. Zheganin <e...@norma.perm.ru> wrote:

Is it possible to have a colored prompt in mc when both panels are on ?
It's colored in a subshell when panels are off (after a couple of
Enters) but not when panels are on.

I tried that once. I wanted my root login prompt to be bright red or something.

What I recall is the extra characters used to color the prompt messes up the line length calculations used by readline or whatever command line library you
use.

It's fine and all pretty looking if your command is short and doesn't go
anywhere near the right edge of the screen, but if it goes onto a second line
(like a fancy for... loop) everything gets messed up and becomes mostly
unusable.

So I stopped doing it and stuck with non-colored prompts.


--
Peace and Cheer
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc

Reply via email to