diff options
Diffstat (limited to 'libbb/read_key.c')
-rw-r--r-- | libbb/read_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/read_key.c b/libbb/read_key.c index 8422976c9..64557ab14 100644 --- a/libbb/read_key.c +++ b/libbb/read_key.c | |||
@@ -214,7 +214,7 @@ int64_t FAST_FUNC read_key(int fd, char *buffer, int timeout) | |||
214 | } | 214 | } |
215 | n++; | 215 | n++; |
216 | /* Try to decipher "ESC [ NNN ; NNN R" sequence */ | 216 | /* Try to decipher "ESC [ NNN ; NNN R" sequence */ |
217 | if (ENABLE_FEATURE_EDITING_ASK_TERMINAL | 217 | if ((ENABLE_FEATURE_EDITING_ASK_TERMINAL || ENABLE_FEATURE_VI_ASK_TERMINAL) |
218 | && n >= 5 | 218 | && n >= 5 |
219 | && buffer[0] == '[' | 219 | && buffer[0] == '[' |
220 | && buffer[n-1] == 'R' | 220 | && buffer[n-1] == 'R' |