about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-12-13 11:27:32 +0100
committerOliver Kiddle <opk@zsh.org>2023-12-13 11:28:00 +0100
commit25f5618b17cf5e9b5add518dffd512fe8503c6b2 (patch)
tree0ec9b2047c37df9a2368eaab6c3eed916db8cce3 /Src/Zle
parent4da0f689c42e5a60972a69255d5e7e4fdd41d0be (diff)
downloadzsh-25f5618b17cf5e9b5add518dffd512fe8503c6b2.tar.gz
zsh-25f5618b17cf5e9b5add518dffd512fe8503c6b2.tar.xz
zsh-25f5618b17cf5e9b5add518dffd512fe8503c6b2.zip
52382: avoid the non-standard \e in C code, preferring \033
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index 51bb43339..e2b86e863 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -977,7 +977,7 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
 	unmetafy(mbcut, &cutll);
 	mbcut = base64_encode(mbcut, cutll);
 
-	fprintf(shout, "\e]52;%c;%s\a", zmod.flags & MOD_CLIP ? 'c' : 'p',
+	fprintf(shout, "\033]52;%c;%s\a", zmod.flags & MOD_CLIP ? 'c' : 'p',
 		mbcut);
     } else if (zmod.flags & MOD_VIBUF) {
 	struct cutbuffer *b = &vibuf[zmod.vibuf];