* fhandler_console.cc (fhandler_console::char_command): Properly use calculated
value rather than directly using dev_state.args[0].
This commit is contained in:
@ -1839,7 +1839,7 @@ fhandler_console::char_command (char c)
|
||||
case 'M': /* DL - delete lines */
|
||||
n = dev_state.args[0] ?: 1;
|
||||
cursor_get (&x, &y);
|
||||
scroll_buffer (0, y + dev_state.args[0], -1, -1, 0, y);
|
||||
scroll_buffer (0, y + n, -1, -1, 0, y);
|
||||
break;
|
||||
case '@': /* IC - insert chars */
|
||||
n = dev_state.args[0] ?: 1;
|
||||
|
Reference in New Issue
Block a user