diff options
Diffstat (limited to 'console/display.c')
-rw-r--r-- | console/display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/console/display.c b/console/display.c index 97e16264..8d9e4786 100644 --- a/console/display.c +++ b/console/display.c @@ -1186,8 +1186,9 @@ handle_esc_bracket (display_t display, char op) case 'B': /* ECMA-48 <CUD>. */ case 'e': /* ECMA-48 <VPR>. */ /* Cursor down: <cud1>, <cud>. */ - user->cursor.row += (parse->params[0] ?: 1); - limit_cursor (display); + /* Most implementations scroll the screen. */ + for (i = 0; i < (parse->params[0] ?: 1); i++) + linefeed (display); break; case 'C': /* ECMA-48 <CUF>. */ /* Cursor right: <cuf1>, <cuf>. */ |