1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 06:20:55 +01:00

28896: unset `monitor' option while the widget is running to avoid accidential data loss.

This commit is contained in:
Frank Terbeck 2011-03-16 20:53:57 +00:00
parent b9cdf11d4f
commit 166d91a480
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-03-16 Frank Terbeck <ft@bewatermyfriend.org>
* 28896: Functions/Zle/edit-command-line: unset `monitor' option
while the widget is running to avoid accidential data loss.
2011-03-16 Peter Stephenson <pws@csr.com>
* Mikael: users/15875: Completion/Unix/Command/_gpg: use return
@ -14342,5 +14347,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5223 $
* $Revision: 1.5224 $
*****************************************************

View file

@ -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