diff --git a/LibC/termcap.cpp b/LibC/termcap.cpp index 8db14ee40c..5054dc9178 100644 --- a/LibC/termcap.cpp +++ b/LibC/termcap.cpp @@ -18,13 +18,10 @@ int tgetent(char* bp, const char* name) #ifdef TERMCAP_DEBUG fprintf(stderr, "tgetent: bp=%p, name='%s'\n", bp, name); #endif - if (!strcmp(name, "ansi")) { - PC = '\0'; - BC = const_cast("\033[D"); - UP = const_cast("\033[A"); - return 1; - } - assert(false); + PC = '\0'; + BC = const_cast("\033[D"); + UP = const_cast("\033[A"); + return 1; } static HashMap* caps = nullptr;