diff options
author | Oliver Kiddle <opk@zsh.org> | 2014-11-13 09:58:34 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-11-13 09:58:34 +0100 |
commit | 99382e689dc41731ee225221964d58732ff7a4e6 (patch) | |
tree | c356a9806e974c528edf3ec7b77272b13ea4a465 /Test | |
parent | e33411990e1353e5d39379adb56e325ab92ce28c (diff) | |
download | zsh-99382e689dc41731ee225221964d58732ff7a4e6.tar.gz zsh-99382e689dc41731ee225221964d58732ff7a4e6.tar.xz zsh-99382e689dc41731ee225221964d58732ff7a4e6.zip |
33669: allow an empty line to be yanked with yy
This by allocating 1 byte instead of 0 for the empty buffer.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/X02zlevi.ztst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index 7e5385bfe..4b9c4d91f 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -30,6 +30,13 @@ >BUFFER: one >CURSOR: 0 + zletest $'1\eo\eyya2\epa3' +0:yank and paste blank line +>BUFFER: 1 +>2 +>3 +>CURSOR: 5 + zletest $' four\eO\C-v\tthree\eO two\eOone\e3J' 0:join lines with line count >BUFFER: one two three |