Skip to content

Commit

Permalink
Implemented MojoPlatform_istty() for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 31, 2009
1 parent b050e32 commit 8c33f60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions platform_windows.c
Expand Up @@ -484,9 +484,7 @@ static boolean findApiSymbols(void)

boolean MojoPlatform_istty(void)
{
// !!! FIXME: this will prevent the stdio plugin from working over
// !!! FIXME: ssh, etc. Check if we're really in a console somehow...
return false; // never a terminal on Windows, always a GUI app.
return (GetConsoleWindow() != 0);
} // MojoPlatform_istty


Expand Down

0 comments on commit 8c33f60

Please sign in to comment.