mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-14 01:51:22 +02:00
33514: even with a named vi buffer, we should update the default buffer
This commit is contained in:
parent
9d54f0ecde
commit
72c666fb4f
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2014-10-23 Oliver Kiddle <opk@zsh.org>
|
2014-10-23 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
|
* 33514: Src/Zle/zle_utils.c: even with a named vi buffer, we
|
||||||
|
should update the default buffer
|
||||||
|
|
||||||
* 33513: Src/Zle/iwidgets.list: vi mode deletions should replace
|
* 33513: Src/Zle/iwidgets.list: vi mode deletions should replace
|
||||||
cut buffer not append to it
|
cut buffer not append to it
|
||||||
|
|
||||||
|
|
|
@ -941,7 +941,6 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
|
||||||
ZS_memcpy(b->buf + len, line, ct);
|
ZS_memcpy(b->buf + len, line, ct);
|
||||||
b->len = len + ct;
|
b->len = len + ct;
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
} else if (flags & CUT_YANK) {
|
} else if (flags & CUT_YANK) {
|
||||||
/* Save in "0 */
|
/* Save in "0 */
|
||||||
free(vibuf[26].buf);
|
free(vibuf[26].buf);
|
||||||
|
|
Loading…
Reference in a new issue