mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-04 09:01:06 +01:00
users/11398: vi-goto-mark broken by multibyte support
This commit is contained in:
parent
2f5b3f97bd
commit
9dab5eef01
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* users/11398: Src/zle_move.c: vi-goto-mark was broken
|
||||
by multibyte characters.
|
||||
|
||||
2007-04-14 Clint Adams <schizo@debian.org>
|
||||
|
||||
* 23275: Completion/Unix/Command/_date: change order of
|
||||
|
|
|
|||
|
|
@ -484,9 +484,10 @@ int
|
|||
vigotomark(UNUSED(char **args))
|
||||
{
|
||||
ZLE_INT_T ch;
|
||||
LASTFULLCHAR_T lfc = LASTFULLCHAR;
|
||||
|
||||
ch = getfullchar(0);
|
||||
if (ch == LASTFULLCHAR)
|
||||
if (ch == lfc)
|
||||
ch = 26;
|
||||
else {
|
||||
if (ch < ZWC('a') || ch > ZWC('z'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue