mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* fhandler_console.cc (fhandler_console::char_command): Properly use calculated
value rather than directly using dev_state.args[0].
This commit is contained in:
parent
8e513b0217
commit
e8036b41ab
@ -1,3 +1,8 @@
|
||||
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||
|
||||
* fhandler_console.cc (fhandler_console::char_command): Properly use
|
||||
calculated value rather than directly using dev_state.args[0].
|
||||
|
||||
2014-03-09 Christopher Faylor <me.cygwin2014@cgf.cx>
|
||||
|
||||
* dir.cc (opendir): Propagate any errno from build_fh_name.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user