#include "textstream.h" TextStream::TextStream(unsigned from_col, unsigned to_col, unsigned from_row, unsigned to_row, bool use_cursor) : from_col_(0), to_col_(80), from_row_(0), to_row_(25), use_cursor_(false) {} void TextStream::flush() { for (unsigned i=0; i <= pos; i++) { //print(buffer[i]); } pos = 0; }