diff options
author | Oliver Kiddle <opk@zsh.org> | 2016-04-14 15:52:44 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2016-04-14 15:52:44 +0200 |
commit | c7eead3950d3d53dd0c4012b272aef024f7a4ea3 (patch) | |
tree | 1d76aec7879d3226683f03b120efcbddc79dc9e3 /Src/Zle | |
parent | fbe2763411db0efd2e0ee36bb851842ce0f00d4a (diff) | |
download | zsh-c7eead3950d3d53dd0c4012b272aef024f7a4ea3.tar.gz zsh-c7eead3950d3d53dd0c4012b272aef024f7a4ea3.tar.xz zsh-c7eead3950d3d53dd0c4012b272aef024f7a4ea3.zip |
38286: cursor correction following yank-pop is only applicable to vi command mode
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/zle_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 25f65b39c..a040ca0df 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -597,7 +597,7 @@ static void pastebuf(Cutbuffer buf, int mult, int position) zlecs += cc; } yanke = zlecs; - if (zlecs) + if (zlecs && invicmdmode()) DECCS(); } } |