From 4d89ec25f17712e8e1710727a7ca211c5591d9e9 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 3 Nov 2014 00:31:57 +0100 Subject: 33575: reset vi change start position if text is inserted before it or on history movement --- Src/Zle/zle_params.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/zle_params.c') diff --git a/Src/Zle/zle_params.c b/Src/Zle/zle_params.c index 5845207fa..dc5fed4ce 100644 --- a/Src/Zle/zle_params.c +++ b/Src/Zle/zle_params.c @@ -198,7 +198,7 @@ set_buffer(UNUSED(Param pm), char *x) setline(x, 0); zsfree(x); } else - zlecs = zlell = 0; + viinsbegin = zlecs = zlell = 0; fixsuffix(); menucmp = 0; } -- cgit 1.4.1