zsh-users
 help / color / mirror / code / Atom feed
* "interactive" menu completion and `complete-word'
@ 2003-01-26  3:06 Le Wang
  2003-01-26  6:15 ` Le Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Le Wang @ 2003-01-26  3:06 UTC (permalink / raw)
  To: Zsh users list

Hi,

I start menu completion like so:

zstyle ':completion:*' menu scroll=0 select=2 interactive

It works well for the most part, except `complete-word', which I've bound to the tab key, inserts
gibberish some times.

I would press 'tab' once to activate the completion mechanism, then when I press tab again
immediately, gibberish is inserted.  However if I press tab to activate the system, and then move
around with the arrow keys, tab works as usual.  I've bound the tab key to `forward-char' in the
menuselect keymap as a workaround.

Also, I noticed quite often, while using interactive menu complete the display becomes messy (e.g.
lines not cleared properly etc.)  I think this could be because I have a two line prompt, but I've
never noticed the problem with normal menu complete.

Thanks.

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "interactive" menu completion and `complete-word'
  2003-01-26  3:06 "interactive" menu completion and `complete-word' Le Wang
@ 2003-01-26  6:15 ` Le Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Le Wang @ 2003-01-26  6:15 UTC (permalink / raw)
  To: Zsh users list

 --- Le Wang <lewang@yahoo.com> wrote: > Hi,
> 
> I start menu completion like so:
> 
> zstyle ':completion:*' menu scroll=0 select=2 interactive
> 
> It works well for the most part, except `complete-word', which I've bound to the tab key,
> inserts
> gibberish some times.
> 
> I would press 'tab' once to activate the completion mechanism, then when I press tab again
> immediately, gibberish is inserted.  However if I press tab to activate the system, and then
> move
> around with the arrow keys, tab works as usual.

`accept-and-hold' is broken in a similar way.

--
Le

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-26  6:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-26  3:06 "interactive" menu completion and `complete-word' Le Wang
2003-01-26  6:15 ` Le Wang

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