summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-07-03 22:56:03 +0200
committerOliver Kiddle <opk@zsh.org>2015-07-03 22:56:03 +0200
commitacb05d1616328e634c6f9914167b12c75619e828 (patch)
tree4b2e4a5212b614a7f3a2643acc30016d4671a3fa /Src/Zle
parent439764a43f7d9a06e2c734984aa321c98dfcc80f (diff)
downloadzsh-acb05d1616328e634c6f9914167b12c75619e828.tar.gz
zsh-acb05d1616328e634c6f9914167b12c75619e828.tar.xz
zsh-acb05d1616328e634c6f9914167b12c75619e828.zip
35674: make an undo event for initial buffer contents
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index fe561fc28..c13e3a0c5 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1206,6 +1206,7 @@ zleread(char **lp, char **rp, int flags, int context, char *init, char *finish)
 	    histline = stackhist;
 	    stackhist = -1;
 	}
+	handleundo();
     }
     /*
      * If main is linked to the viins keymap, we need to register