diff options
author | Oliver Kiddle <opk@zsh.org> | 2023-12-13 11:27:32 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2023-12-13 11:28:00 +0100 |
commit | 25f5618b17cf5e9b5add518dffd512fe8503c6b2 (patch) | |
tree | 0ec9b2047c37df9a2368eaab6c3eed916db8cce3 /Src/Modules | |
parent | 4da0f689c42e5a60972a69255d5e7e4fdd41d0be (diff) | |
download | zsh-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/Modules')
-rw-r--r-- | Src/Modules/ksh93.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/ksh93.c b/Src/Modules/ksh93.c index 51999dd71..9af5e1d69 100644 --- a/Src/Modules/ksh93.c +++ b/Src/Modules/ksh93.c @@ -171,7 +171,7 @@ ksh93_wrapper(Eprog prog, FuncWrap w, char *name) /* bindkey -v forces VIMODE so this test is as good as any */ if (curkeymapname && isset(VIMODE) && strcmp(curkeymapname, "main") == 0) - strcpy(sh_edmode, "\e"); + strcpy(sh_edmode, "\033"); else strcpy(sh_edmode, ""); if (!sh_edchar) |