diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-13 16:58:42 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2008-04-13 16:58:42 +0000 |
commit | 97dcf155566083a4b6a43040184cb477d3ff2baf (patch) | |
tree | ab1eac3ca67fa36daf9c6fe9fda6be4b0522c4c6 /Src/Zle/zle_hist.c | |
parent | c1db47d16b799820491994447514c7e3dbc7316a (diff) | |
download | zsh-97dcf155566083a4b6a43040184cb477d3ff2baf.tar.gz zsh-97dcf155566083a4b6a43040184cb477d3ff2baf.tar.xz zsh-97dcf155566083a4b6a43040184cb477d3ff2baf.zip |
24808: initial support for combining characters in zle
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r-- | Src/Zle/zle_hist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c index 2fdda1696..ddd17b760 100644 --- a/Src/Zle/zle_hist.c +++ b/Src/Zle/zle_hist.c @@ -640,7 +640,7 @@ insertlastword(char **args) if (deleteword) { int pos = zlemetacs; zlemetacs = lastpos; - foredel(pos - zlemetacs); + foredel(pos - zlemetacs, CUT_RAW); /* * Mark that this has been deleted. * For consistency with history lines, we really ought to @@ -701,7 +701,7 @@ insertlastword(char **args) if (deleteword > 0) { int pos = zlemetacs; zlemetacs = lastpos; - foredel(pos - zlemetacs); + foredel(pos - zlemetacs, CUT_RAW); } if (lastinsert) { zfree(lastinsert, lastlen); |