zsh-workers
 help / color / mirror / code / Atom feed
* ZLE redraw bug
@ 2008-03-27  7:47 Matt Wozniski
  2008-03-28 23:16 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Wozniski @ 2008-03-27  7:47 UTC (permalink / raw)
  To: zsh-workers

OK, this has been bugging me for a while, and was still an issue with
4.3.5 dev 4, so I finally sat down to try to get a manageable test
case for it.  Hopefully this is small enough.  :)

zsh -f
mastermind% autoload -U compinit; compinit
mastermind% zstyle ':completion:*' completer _approximate
mastermind% zstyle ':completion:*' menu select=2
mastermind% path=()
mastermind% function manpath { }
mastermind% mna<TAB> ("mna" changes to "enable" from menu selection)
enable     mailpath   manpath    manpath    nameddirs  _nautilus  unalias
mna

note that manpath appears twice in the listing - I think that's what's
screwing things up internally...  because if I now do <CTRL-u> to kill
the line, I get:

<-snip->
mastermind% enable
enable     m

mna
<-snap>

with the cursor after the 'm' on the second line.

If I then do "unfunction manpath" and try the completion/line kill
again, things work properly.

Can anyone help me figure out what might be going wrong?  I don't even
know where to begin debugging ZLE, heh.

Thanks!
~Matt


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

end of thread, other threads:[~2008-03-28 23:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-27  7:47 ZLE redraw bug Matt Wozniski
2008-03-28 23:16 ` Peter Stephenson

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