@@ -453,10 +453,19 @@ * since any incomplete write is an exception here anyway, we can just * return length. */ return length; } + +- (bool)hasTerminal +{ + /* + * We can never get here if there is no terminal, as the initializer + * changes the class to OFStdIOStream in that case. + */ + return true; +} - (int)columns { CONSOLE_SCREEN_BUFFER_INFO csbi;