* DevNotes: Add entry cgf-000024.
* fhandler.h (dev_console::state): Remove trailing underscore. (dev_console::args): Ditto. (dev_console::nargs): Ditto. (dev_console::info): Eliminate subclass. (dev_console::dwEnd): New field. (dev_console::scroll_window): New function. (dev_console::is_fullscreen): Ditto. (dev_console::fillin): Rename from fillin_info. (fhandler_console::scroll_buffer): Rename from scroll_screen. * fhandler_console.cc: Throughout s/dev_state\.info/dev_state/g. Accommodate other name changes. (dev_console::fillin): Accommodate rename. Notice max x/y written to. Forgo memset if GetConsoleScreenBufferInfo fails. (fhandler_console::scroll_buffer): Accommodate rename. Don't treat y coordinate of zero as top of screen. (dev_console::is_fullscreen): New function. (dev_console::scroll_window): Ditto. (fhandler_console::clear_screen): Just scroll the screen when clearing the screen in a state where the screen buffer is bigger than the screen. (fhandler_console::char_command): Try harder to get 'S' and 'T' working in the presence of a screen buffer. Use temporary 'n' variable rather than dev_state.args[0]. Use GNU ?: shortcut method.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2014-02-15 cgf-000024
|
||||
|
||||
Wow. It's hard getting the screen handling stuff working correctly when
|
||||
there is a screen buffer larger than screen size and vice versa. These
|
||||
changes attempt to use SetConsoleWindowInfo whenever possible so that
|
||||
the contents of the screen buffer are never wiped out. They also fix
|
||||
some previously misbehaving "scroll the screen" commands.
|
||||
|
||||
2013-06-07 cgf-000023
|
||||
|
||||
Given the fact that the signal thread never exits there is no need
|
||||
|
Reference in New Issue
Block a user