* DevNotes: Add entry cgf-000026.

* fhandler.h (fhandler_console::save_top): Save top of screen coordinates.
* fhandler_console.cc (dev::save_restore): Record top of screen coordinates.
Clear entire buffer when restoring saved buffer and try to position the cursor
on the save relative place on the screen.
This commit is contained in:
Christopher Faylor
2014-04-26 17:38:22 +00:00
parent e1c519b41f
commit 6e06243942
4 changed files with 27 additions and 1 deletions

View File

@ -1302,6 +1302,7 @@ class dev_console
COORD save_bufsize;
PCHAR_INFO save_buf;
COORD save_cursor;
SHORT save_top;
COORD dwLastCursorPosition;
COORD dwMousePosition; /* scroll-adjusted coord of mouse event */