Re: colored bash prompt
- From: "Mike Smithson" <mdooligan gmail com>
- To: "mc gnome org" <mc gnome org>
- Subject: Re: colored bash prompt
- Date: Wed, 18 Jun 2014 08:05:00 -0700
On Tue, 17 Jun 2014 23:48:55 -0700, Eugene M. Zheganin <emz 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
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]