diff --git a/source/platform/termdisp.cpp b/source/platform/termdisp.cpp index 285ae3fa..63e1311e 100644 --- a/source/platform/termdisp.cpp +++ b/source/platform/termdisp.cpp @@ -37,6 +37,10 @@ TermCap TerminalDisplay::getCapabilities() termcap.quirks |= qfBoldIsBright; if (TermIO::isLinuxConsole()) termcap.quirks |= qfBlinkIsBright | qfNoItalic | qfNoUnderline; + else if (getEnv("TERM") == "xterm") + // Let's assume all terminals disguising themselves as 'xterm' + // support at least 16 colors. + termcap.colors = Indexed16; } } return termcap;