diff --git a/arch/textwindow.cc b/arch/textwindow.cc index b4bd32f..bb732e7 100644 --- a/arch/textwindow.cc +++ b/arch/textwindow.cc @@ -51,6 +51,18 @@ void TextWindow::print(const char* str, size_t length, CGA::Attribute attrib) { for(unsigned i=0; i= to_row-1){ + //TODO scrollUp() + } + else{ + y_now++; + } + setPos(x_now, y_now); + return; + } + CGA::show(x_now, y_now, str[i], attrib); if(from_col+x_now >= to_col-1){ x_now = 0;