about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2011-03-16 20:53:57 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2011-03-16 20:53:57 +0000
commit166d91a4809fff831c77084d318d3e4a7a9b6743 (patch)
tree649e67fbdcb9d992dd234d27a9c4858085993d39 /Functions/Zle
parentb9cdf11d4fb69c0ad9e4fe47e51f70ecc7823d4d (diff)
downloadzsh-166d91a4809fff831c77084d318d3e4a7a9b6743.tar.gz
zsh-166d91a4809fff831c77084d318d3e4a7a9b6743.tar.xz
zsh-166d91a4809fff831c77084d318d3e4a7a9b6743.zip
28896: unset `monitor' option while the widget is running to avoid accidential data loss.
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/edit-command-line2
1 files changed, 2 insertions, 0 deletions
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index 250cac65f..efcc4b957 100644
--- a/Functions/Zle/edit-command-line
+++ b/Functions/Zle/edit-command-line
@@ -6,6 +6,8 @@
 # will give ksh-like behaviour for that key,
 # except that it will handle multi-line buffers properly.
 
+setopt local_options no_monitor
+
 local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$
 
 print -R - "$PREBUFFER$BUFFER" >$tmpfile