Cygwin build fix
This commit is contained in:
parent
6deb262dd7
commit
7ae9f38229
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue