zsh-workers
 help / color / mirror / code / Atom feed
* vi-replace-chars broken after the "combining char" patch
@ 2008-04-17 16:11 Jun T.
  2008-04-17 16:20 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Jun T. @ 2008-04-17 16:11 UTC (permalink / raw)
  To: zsh-workers

vi-replace-chars, which is bound to "r" in the vicmd keymap,
has stopped working after the "combining char" patch.
I guess line 500 of zle_vi.c
        while (n > 0) {
should be
        while (n-- > 0) {


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

* Re: vi-replace-chars broken after the "combining char" patch
  2008-04-17 16:11 vi-replace-chars broken after the "combining char" patch Jun T.
@ 2008-04-17 16:20 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2008-04-17 16:20 UTC (permalink / raw)
  To: zsh-workers

"Jun T." wrote:
> vi-replace-chars, which is bound to "r" in the vicmd keymap,
> has stopped working after the "combining char" patch.
> I guess line 500 of zle_vi.c
>         while (n > 0) {
> should be
>         while (n-- > 0) {

Thanks, I've fixed it.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


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

end of thread, other threads:[~2008-04-17 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 16:11 vi-replace-chars broken after the "combining char" patch Jun T.
2008-04-17 16:20 ` 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).