fixed print pointer magic
This commit is contained in:
@@ -9,14 +9,12 @@ TextStream::TextStream(unsigned from_col,
|
||||
to_col_(80),
|
||||
from_row_(0),
|
||||
to_row_(25),
|
||||
use_cursor_(false)
|
||||
|
||||
{}
|
||||
use_cursor_(0){}
|
||||
|
||||
|
||||
void TextStream::flush() {
|
||||
for (unsigned i=0; i <= pos; i++) {
|
||||
//print(buffer[i]);
|
||||
print(&buffer[i],1);
|
||||
}
|
||||
pos = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user