about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2019-02-14 11:41:19 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2019-02-14 11:41:19 +0000
commite25de2de74be09071a8f752d38263cab9c316254 (patch)
tree1f0f8ee94d26433642a8ed0abd23dec9eb9804ef /Src
parent109975b1b57a347bee1085b2a0b26ec004445a24 (diff)
downloadzsh-e25de2de74be09071a8f752d38263cab9c316254.tar.gz
zsh-e25de2de74be09071a8f752d38263cab9c316254.tar.xz
zsh-e25de2de74be09071a8f752d38263cab9c316254.zip
c.f. 44062: Back off clearflag change to ZLE line init.
This causes problems with failed ZLE reads that printed a message
in the display area, in particular ignoreEOF warnings.

It appears it's not needed for the overall effect of the fixes in
zsh-workers/40302, commit 34656ec2.
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 3487b5d9f..71930f76b 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1256,7 +1256,6 @@ zleread(char **lp, char **rp, int flags, int context, char *init, char *finish)
     resetneeded = 0;
     fetchttyinfo = 0;
     trashedzle = 0;
-    clearflag = 0;
     raw_lp = lp;
     lpromptbuf = promptexpand(lp ? *lp : NULL, 1, NULL, NULL, &pmpt_attr);
     raw_rp = rp;