From 77be4602908c8a921113005747a3a7e17b3228e4 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sat, 17 Aug 2024 06:32:10 -0700 Subject: [PATCH] Make Windows REPLs great again --- third_party/linenoise/linenoise.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/third_party/linenoise/linenoise.c b/third_party/linenoise/linenoise.c index 972044bb1..fffa024e4 100644 --- a/third_party/linenoise/linenoise.c +++ b/third_party/linenoise/linenoise.c @@ -408,9 +408,7 @@ static int linenoiseIsUnsupportedTerm(void) { char *term; static char once, res; if (!once) { - if (IsWindows()) { - res = 1; - } else if ((term = getenv("TERM"))) { + if ((term = getenv("TERM"))) { for (i = 0; i < sizeof(kUnsupported) / sizeof(*kUnsupported); i++) { if (!strcasecmp(term, kUnsupported[i])) { res = 1;