#include "textstream.h" TextStream::TextStream(unsigned from_col, unsigned to_col, unsigned from_row, unsigned to_row, bool use_cursor) : TextWindow(from_col, to_col, from_row, to_row, use_cursor){} void TextStream::flush() { for (unsigned i=0; i <= pos; i++) { print(&buffer[i],1); } pos = 0; }