[vte] emulation: Keep the incoming buffer on reset



commit 9240ed8a65549300840aa15fc1580f6c350ae583
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

 src/vte.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 85e31c7..ef55bcf 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -12364,13 +12364,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_byte_array_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]