summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/zle_main.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0708e2354..df1bd3ee5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-05  Frank Terbeck  <ft@bewatermyfriend.org>
+
+	* 31174: Src/Zle/zle_main.c: 31174: zle: Make sure state changes
+	are refreshed after init hook
+
 2013-04-04  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* 31203: Completion/Unix/Command/.distfiles,
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index e1a575bdb..5157ad3da 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1219,12 +1219,12 @@ zleread(char **lp, char **rp, int flags, int context)
     initmodifier(&zmod);
     prefixflag = 0;
 
-    zrefresh();
-
     unqueue_signals();	/* Should now be safe to acknowledge SIGWINCH */
 
     zlecallhook("zle-line-init", NULL);
 
+    zrefresh();
+
     zlecore();
 
     if (errflag)