From c7eead3950d3d53dd0c4012b272aef024f7a4ea3 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 14 Apr 2016 15:52:44 +0200 Subject: 38286: cursor correction following yank-pop is only applicable to vi command mode --- Src/Zle/zle_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src') 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(); } } -- cgit v1.2.3