[PATCH] subshell prompt printing fix
Pavel Tsekov
ptsekov at gmx.net
Wed Jun 13 12:02:54 UTC 2007
-------- Original-Nachricht --------
Datum: Tue, 12 Jun 2007 16:17:11 +0200
Von: Jindrich Novy
Betreff: [PATCH] subshell prompt printing fix
> I've been stumbling around this problem for a long time
> so I finally decided to fix it.
>
> Bug 1:
> 1. Have a mc running where you have two different directories
> in each panel.
> 2. Tab, so that you are in the other panel.
> 3. Ctrl-O to go to subshell.
> 4. You see two different prompts printed next to each other.
How about clearing the last line and printing the prompt with
terminal control codes ? With your patch we'll get something like:
[user at host dir1]
[user at host dir2]
[user at host dir1]
[user at host dir2]
I think I already submitted a code which did something similiar. I'll try to dig it out.
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
More information about the mc-devel
mailing list