* fhandler.h (cltype): Add cl_buf_beg, cl_buf_end.

* fhandler_console.cc (dev_console::console_attrs::set_cl_x): Honor buffer
locations.
(dev_console::console_attrs::set_cl_y): Ditto.
(fhandler_console::write): On reset, use absolute positioning to go to
beginning of buffer.  Clear entire buffer.
This commit is contained in:
Christopher Faylor
2014-01-31 04:23:22 +00:00
parent ed94d4a4aa
commit 63b1a850b3
3 changed files with 29 additions and 14 deletions

View File

@@ -1250,7 +1250,9 @@ enum cltype
{
cl_curr_pos = 1,
cl_disp_beg,
cl_disp_end
cl_disp_end,
cl_buf_beg,
cl_buf_end
};
class dev_console