[vte/vte-0-36] emulation: Keep the incoming buffer on reset



commit 2991e7a7d4dbac115a2ab941d4af4dc74aa05dd6
Author: Egmont Koblinger <egmont gmail com>
Date:   Thu May 29 12:39:44 2014 +0200

    emulation: Keep the incoming buffer on reset
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730760
    (cherry picked from commit 9240ed8a65549300840aa15fc1580f6c350ae583)
    
    Conflicts:
        src/vte.c

 src/vte.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index f6dcd99..c407d41 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -13874,13 +13874,7 @@ vte_terminal_reset(VteTerminal *terminal,
 
         g_object_freeze_notify(G_OBJECT(terminal));
 
-       /* Stop processing any of the data we've got backed up. */
-       vte_terminal_stop_processing (terminal);
-
-       /* Clear the input and output buffers. */
-       _vte_incoming_chunks_release (pvt->incoming);
-       pvt->incoming = NULL;
-       g_array_set_size(pvt->pending, 0);
+       /* Clear the output buffer. */
        _vte_buffer_clear(pvt->outgoing);
        /* Reset charset substitution state. */
        _vte_iso2022_state_free(pvt->iso2022);


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