Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion position
- X-seq: zsh-users 3287
- From: nirva@xxxxxxxxxxx (Danny Dulai)
- To: duke@xxxxxxxxxxxxxx (Christoph Lange), dias-d_l@xxxxxxxx
- Subject: Re: completion position
- Date: 15 Jul 2000 20:57:47 -0000
- Cc: zsh-users@xxxxxxxxxxxxxx (zsh)
- In-reply-to: <Pine.LNX.4.21.0007151810001.371-100000@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
On 07/15/00, Christoph Lange said:
>> I can't find how to move the completion cursor position :
>> i've always that :
>>
>> shell> cd /usr/<tab> _
>> X11R6/ i486-linuxlibc1/ local/ spool/
>> bin/ include/ man/ src/
>> doc/ info/ sbin/
>> games/ lib/ share/
>
>I had a similar problem when I had some escape codes in my prompt, which set
>the xterm title bar. I think zsh calculates the cursor position depending on
>the length of the prompt. Of course, zsh did not understand that a certain
>part of the text actually appeared in the title bar and not in the command
>line prompt and therefore assumed a wrong length andq set the cursor to a
>wrong position.
from the zshall manpage, under PROMPT EXPANSION:
%{...%}
Include a string as a literal escape sequence. The
string within the braces should not change the cur-
sor position. Brace pairs can nest.
--
___________________________________________________________________________
Danny Dulai Feet. Pumice. Lotion.
http://www.ishiboo.com/~nirva/ nirva@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author