zsh-users
 help / color / mirror / code / Atom feed
From: nirva@ishiboo.com (Danny Dulai)
To: duke@cyberspaces.de (Christoph Lange), dias-d_l@epita.fr
Cc: zsh-users@sunsite.auc.dk (zsh)
Subject: Re: completion position
Date: 15 Jul 2000 20:57:47 -0000	[thread overview]
Message-ID: <Liam.963694667.253675.9664.137548785@mergioo> (raw)
In-Reply-To: <Pine.LNX.4.21.0007151810001.371-100000@langec.myip.org>

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@ishiboo.com


      reply	other threads:[~2000-07-15 20:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-15 14:13 Mglcel
2000-07-15 16:16 ` Christoph Lange
2000-07-15 20:57   ` Danny Dulai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Liam.963694667.253675.9664.137548785@mergioo \
    --to=nirva@ishiboo.com \
    --cc=dias-d_l@epita.fr \
    --cc=duke@cyberspaces.de \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).