1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-02 20:31:09 +01:00

Greg Klanderman: 26159: fix appending of kills

This commit is contained in:
Peter Stephenson 2009-01-03 18:12:15 +00:00
parent 80bb48a400
commit 851663282a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
* Greg Klanderman: 26159: Src/Zle/zle_utils.c: CUT_RAW should be
CUT_REPLACE for multiple kills to append.
2008-12-30 Clint Adams <clint@zsh.org>
* 26202: Functions/Misc/run-help: show zshmodules(1) for echotc,

View file

@ -546,7 +546,7 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
cutbuf.buf = (ZLE_STRING_T)zalloc(ZLE_CHAR_SIZE);
cutbuf.buf[0] = ZWC('\0');
cutbuf.len = cutbuf.flags = 0;
} else if (!(lastcmd & ZLE_KILL) || (flags & CUT_RAW)) {
} else if (!(lastcmd & ZLE_KILL) || (flags & CUT_REPLACE)) {
Cutbuffer kptr;
if (!kring) {
kringsize = KRINGCTDEF;