summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <okiddle@yahoo.co.uk>2014-02-14 22:51:33 +0100
committerOliver Kiddle <okiddle@yahoo.co.uk>2014-02-14 22:51:33 +0100
commit90916c4e085138da26c34b1d0da826f7804293f7 (patch)
tree1baab60a3489ab7c9b30ee97fdbafb2b8b1c6d62
parent7274ea8c494c3033b3ea01f828d4d21fa511ed9a (diff)
downloadzsh-90916c4e085138da26c34b1d0da826f7804293f7.tar.gz
zsh-90916c4e085138da26c34b1d0da826f7804293f7.tar.xz
zsh-90916c4e085138da26c34b1d0da826f7804293f7.zip
32361: don't reset lastline before completion
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/zle_tricky.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f6ef20115..848527bdb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-02-14  Oliver Kiddle <opk@zsh.org>
+
+	* 32361: Src/Zle/zle_tricky.c: don't reset lastline before completion
+
 2014-02-13  Barton E. Schaefer  <schaefer@brasslantern.com>
 
 	* 32377: Test/comptest: change keybindings and PTY control for
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index a12fa08ff..3c7cff9c1 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -611,7 +611,6 @@ docomplete(int lst)
     active = 1;
     comprecursive = 0;
     makecommaspecial(0);
-    setlastline();
 
     /* From the C-code's point of view, we can only use compctl as a default
      * type of completion. Load it if it hasn't been loaded already and