[vte/vte-0-36] emulation: Fix ESC E at the bottom of the screen



commit b04ccce0ba4c29a7f09c407de1f601a297b26ea6
Author: Egmont Koblinger <egmont gmail com>
Date:   Thu Oct 24 15:18:16 2013 +0200

    emulation: Fix ESC E at the bottom of the screen
    
    ESC E needs to scroll, if necessary.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693013

 src/vteseq.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/vteseq.c b/src/vteseq.c
index 0ed8165..af44f2d 100644
--- a/src/vteseq.c
+++ b/src/vteseq.c
@@ -1390,7 +1390,7 @@ vte_sequence_handler_cursor_lower_left (VteTerminal *terminal, GValueArray *para
        screen->cursor_current.col = 0;
 }
 
-/* Move the cursor to the beginning of the next line, scrolling if necessary. */
+/* Move the cursor to the beginning of the next line, no scrolling. */
 static void
 vte_sequence_handler_cursor_next_line (VteTerminal *terminal, GValueArray *params)
 {
@@ -1398,7 +1398,7 @@ vte_sequence_handler_cursor_next_line (VteTerminal *terminal, GValueArray *param
        vte_sequence_handler_DO (terminal, params);
 }
 
-/* Move the cursor to the beginning of the next line, scrolling if necessary. */
+/* Move the cursor to the beginning of the previous line, no scrolling. */
 static void
 vte_sequence_handler_cursor_preceding_line (VteTerminal *terminal, GValueArray *params)
 {
@@ -1823,7 +1823,7 @@ static void
 vte_sequence_handler_next_line (VteTerminal *terminal, GValueArray *params)
 {
        terminal->pvt->screen->cursor_current.col = 0;
-       vte_sequence_handler_DO (terminal, params);
+       _vte_terminal_cursor_down (terminal);
 }
 
 /* No-op. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]