mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Make Windows REPLs great again
This commit is contained in:
parent
8e14b27749
commit
77be460290
1 changed files with 1 additions and 3 deletions
4
third_party/linenoise/linenoise.c
vendored
4
third_party/linenoise/linenoise.c
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue