Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zle -R does it support color?



On Feb 8, 10:15pm, Wendell Hom wrote:
} 
} The way my "completion" widget works is that when it is invoked, it   
} enters a loop and waits for the next key to be pressed.               
} 
} Every time a key is pressed, the new completion list is redisplayed 
} automatically.

Have you looked at Functions/Zle/incremental-complete-word ?  Thus spake
"man zshcontrib":

     This allows incremental completion of a word.  After starting this
     command, a list of completion choices can be shown after every
     character you type, which you can delete with ^H or DEL.  Pressing
     return accepts the completion so far and returns you to normal
     editing (that is, the command line is _not_ immediately executed).
     You can hit TAB to do normal completion, ^G to abort back to the
     state when you started, and ^D to list the matches.



Messages sorted by: Reverse Date, Date, Thread, Author