From d8c9e2389e02fac77ce422c40bce9ed0018ce140 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Thu, 13 Oct 2011 15:52:51 -0400 Subject: [PATCH] More conservative about when we flag predictions --- terminaloverlay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminaloverlay.cpp b/terminaloverlay.cpp index efaa10d..5a0c0be 100644 --- a/terminaloverlay.cpp +++ b/terminaloverlay.cpp @@ -125,8 +125,8 @@ void PredictionEngine::cull( const Framebuffer &fb ) } } - if ( SRTT > 150 ) flagging = true; /* start underlining predicted chars */ - if ( SRTT < 100 ) flagging = false; /* use some hysterisis to avoid annoying flicker */ + if ( SRTT > 500 ) flagging = true; /* start underlining predicted chars */ + if ( SRTT < 150 ) flagging = false; /* use some hysterisis to avoid flapping */ } OverlayCell::OverlayCell( uint64_t expiration_time, int s_row, int s_col, int background_color )