Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Pasting UTF-8 characters with bracketed-paste-magic seems broken in 5.1
On Sep 10, 8:35pm, Peter Stephenson wrote:
}
} This seems to be getting somewhere, but possibly needs more expert
} examination...
This diff looks OK, though I'm not sure why you need $ismb ? Is it just
a shortcut? (i.e., because if the multibyte character had been bound to
something, then .read-command would have consumed it as one $KEYS, so
we know it can't match $bpm_inactive)
Thinking harder, though ... isn't the only reason that this gets "stuck"
because "zle .self-insert-unmeta" blocks waiting for more bytes? Do we
really need the loop-within-a-loop given LBUFFER+= instead? Perhaps
because the trailing part of the multibyte character might be bound to
an active widget?
I keep coming back to how much cleaner this would be if .read-command
consumed a whole character.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author