From f6de17eb718564bce5fd90360df52885e59abd37 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Thu, 2 Feb 2012 03:24:05 -0500 Subject: [PATCH] Correct excessive-length terminal output --- terminaloverlay.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/terminaloverlay.cpp b/terminaloverlay.cpp index 974f0a6..68eb549 100644 --- a/terminaloverlay.cpp +++ b/terminaloverlay.cpp @@ -30,8 +30,9 @@ void ConditionalOverlayCell::apply( Framebuffer &fb, uint64_t confirmed_epoch, i } if ( unknown ) { - // fb.get_mutable_cell( row, col )->contents.clear(); - fb.get_mutable_cell( row, col )->renditions.underlined = true; + if ( flag && ( col != fb.ds.get_width() - 1 ) ) { + fb.get_mutable_cell( row, col )->renditions.underlined = true; + } return; }