mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
17928: Zvi Har'El: don't interpret escapes when setting the command buffer
This commit is contained in:
parent
b10cb015c6
commit
43136502b7
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$
|
|||
print -R - "$PREBUFFER$BUFFER" >$tmpfile
|
||||
exec </dev/tty
|
||||
${VISUAL:-${EDITOR:-vi}} $tmpfile
|
||||
print -z - "$(<$tmpfile)"
|
||||
print -Rz - "$(<$tmpfile)"
|
||||
|
||||
command rm -f $tmpfile
|
||||
zle send-break # Force reload from the buffer stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue