Cygwin build fix

This commit is contained in:
Markus Gans 2021-03-15 18:03:48 +01:00
parent 6deb262dd7
commit 7ae9f38229
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ void FTermDetection::detectTerminal()
const auto& termfilename = fterm_data->getTermFileName();
// Fixes problem with mouse input
if ( std::strncmp(termfilename, "/dev/cons", 9) == 0 )
if ( termfilename.substr(0, 9) == "/dev/cons" )
FKeyboard::setNonBlockingInputSupport(false);
#endif
}