zsh-users
 help / color / mirror / code / Atom feed
From: Christoph Lange <langec@gmx.de>
To: dias-d_l@epita.fr
Cc: zsh <zsh-users@sunsite.auc.dk>
Subject: Re: completion position
Date: Sat, 15 Jul 2000 18:16:13 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0007151810001.371-100000@langec.myip.org> (raw)
In-Reply-To: <20000715161353.A22044@amnesty.mglcel.fr>

> 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.

Christoph

-- 
Microsoft Windows(TM): A thirty-two bit extension and graphical shell
to a sixteen bit patch to an eight bit operating system originally
coded for a four bit microprocessor which was written by a two-bit
company that can't stand one bit of competition.
Christoph Lange, langec@gmx.de, http://www.cul.de/home/yaph/, ICQ #51191833


  reply	other threads:[~2000-07-15 18:06 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 [this message]
2000-07-15 20:57   ` Danny Dulai

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=Pine.LNX.4.21.0007151810001.371-100000@langec.myip.org \
    --to=langec@gmx.de \
    --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).