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:
parent
80bb48a400
commit
851663282a
2 changed files with 6 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue