#include "textstream.h" #include "../arch/lapic.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){ //CGA::Color fg = static_cast((LAPIC::getID() + 1 )); //this->reset(' ', CGA::Attribute(CGA::LIGHT_GREEN, fg, false)); } void TextStream::flush() { CGA::Color fg = static_cast((LAPIC::getID() + 1 )); print(buffer,pos,CGA::Attribute(CGA::LIGHT_GREEN, fg, false)); pos = 0; }