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

Re: the function to show a digit argument while it is being typed



On Nov 11,  5:14pm, Greg Klanderman wrote:
}
} Any suggestions for improvements?

Both my digit-argument-show and your neg-argument-show would benefit
from adding a seemingly-redundant "zle -R" at the very end.  There's
still some odd refresh behavior that can occur if the key sequence
pushed by "zle -U" does not call a widget that updates the display.

Also I'm casting about for a workaround for "if zle read-command",
given that the failure status from read-command depends on a bug
that may get fixed eventually.  No specific suggestions yet.



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