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
- X-seq: zsh-users 14557
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: the function to show a digit argument while it is being typed
- Date: Wed, 11 Nov 2009 20:03:54 -0800
- In-reply-to: <m3639g7lqa.fsf@xxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <10081257897632@xxxxxxxxxxxxxxxxxxx> <237967ef0911101822g5bfcf4fao25fc33ba0a2e8604@xxxxxxxxxxxxxx> <091110204748.ZM28704@xxxxxxxxxxxxxxxxxxxxxx> <237967ef0911102217m1325dc59y8d7388e9f6f21c7b@xxxxxxxxxxxxxx> <091111001419.ZM28852@xxxxxxxxxxxxxxxxxxxxxx> <m3eio56o4i.fsf@xxxxxxxxxxxxxx> <091111094507.ZM30174@xxxxxxxxxxxxxxxxxxxxxx> <m3bpj87vgp.fsf@xxxxxxxxxxxxxx> <091111114610.ZM30405@xxxxxxxxxxxxxxxxxxxxxx> <m38wec7n39.fsf@xxxxxxxxxxxxxx> <m3639g7lqa.fsf@xxxxxxxxxxxxxx>
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