aboutsummaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r--shell/shell_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index 9d74dcb7a..efe8828e4 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -223,7 +223,7 @@ shell_builtin_read(struct builtin_read_params *params)
223 if (isatty(fd)) { 223 if (isatty(fd)) {
224 int64_t key; 224 int64_t key;
225 225
226 key = read_key(fd, NULL, timeout); 226 key = windows_read_key(fd, NULL, timeout);
227 if (key == 0x03) { 227 if (key == 0x03) {
228 /* ^C pressed */ 228 /* ^C pressed */
229 retval = (const char *)(uintptr_t)2; 229 retval = (const char *)(uintptr_t)2;