[vte] pty: Reduce wait-for-EOS time to 2 seconds



commit 12a54279ce70874d3b50540c1ef64f87e2240b37
Author: Christian Persch <chpe src gnome org>
Date:   Sat Feb 15 20:38:32 2020 +0100

    pty: Reduce wait-for-EOS time to 2 seconds
    
    This should make the delay less noticeable while still allowing to read
    all data from the recently exited child process.

 src/vte.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vte.cc b/src/vte.cc
index 3b261973..c1c85f7a 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -3138,7 +3138,7 @@ Terminal::child_watch_done(pid_t pid,
                 m_child_exit_status = status;
                 m_child_exited_after_eos_pending = true;
 
-                m_child_exited_eos_wait_timer.schedule_seconds(5); // FIXME: better value?
+                m_child_exited_eos_wait_timer.schedule_seconds(2); // FIXME: better value?
         } else {
                 m_child_exited_after_eos_pending = false;
 


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