Re: [PATCH] subshell prompt printing fix



-------- 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 host dir1]
[user host dir2]
[user host dir1]
[user 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]