diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-10 09:37:19 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2006-10-10 09:37:19 +0000 |
commit | d4d6cb5494ea6444888c9b95474cd48a44d8204f (patch) | |
tree | d1a1678b98d30a0f2a98c33c2089423c6459d237 /Src | |
parent | a003c09affae598f34e846e771e7659228e1e1dc (diff) | |
download | zsh-d4d6cb5494ea6444888c9b95474cd48a44d8204f.tar.gz zsh-d4d6cb5494ea6444888c9b95474cd48a44d8204f.tar.xz zsh-d4d6cb5494ea6444888c9b95474cd48a44d8204f.zip |
22852: users style effect changed in 22191
22853: unquoted ^ at end of bindkey string treated literally
Diffstat (limited to 'Src')
-rw-r--r-- | Src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index 0aa0dfe2f..2e124443f 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -4744,7 +4744,7 @@ getkeystring(char *s, int *len, int how, int *misc) } else if ((how & GETKEY_DOLLAR_QUOTE) && *s == Snull) { for (u = t; (*u++ = *s++);); return t + 1; - } else if (*s == '^' && !control && (how & GETKEY_CTRL)) { + } else if (*s == '^' && !control && (how & GETKEY_CTRL) && s[1]) { control = 1; continue; #ifdef MULTIBYTE_SUPPORT |