Small cleanup to generated output when predictions active

This commit is contained in:
Keith Winstein
2012-03-10 06:42:21 -05:00
parent 122d9fbccf
commit bc3297aa75
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_PREREQ([2.61]) AC_PREREQ([2.61])
AC_INIT([mosh], [0.98], [mosh-devel@mit.edu]) AC_INIT([mosh], [0.98a], [mosh-devel@mit.edu])
AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AM_INIT_AUTOMAKE([-Wall -Werror foreign])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc]) AC_CONFIG_SRCDIR([src/frontend/mosh-client.cc])
+6
View File
@@ -1,3 +1,9 @@
mosh (0.98a-1) unstable; urgency=low
* Small cleanup to generated terminal output when predictions active
-- Keith Winstein <keithw@mit.edu> Sat, 10 Mar 2012 06:40:24 -0500
mosh (0.98-1) unstable; urgency=low mosh (0.98-1) unstable; urgency=low
* Version 0.98 released. * Version 0.98 released.
+2
View File
@@ -51,9 +51,11 @@ void ConditionalOverlayCell::apply( Framebuffer &fb, uint64_t confirmed_epoch, i
} }
if ( !(*(fb.get_cell( row, col )) == replacement) ) { if ( !(*(fb.get_cell( row, col )) == replacement) ) {
/*
if ( replacement.is_blank() && fb.get_cell( row, col )->is_blank() ) { if ( replacement.is_blank() && fb.get_cell( row, col )->is_blank() ) {
return; return;
} }
*/
*(fb.get_mutable_cell( row, col )) = replacement; *(fb.get_mutable_cell( row, col )) = replacement;
if ( flag ) { if ( flag ) {
+1 -2
View File
@@ -242,8 +242,7 @@ void Display::put_cell( bool initialized, FrameState &frame, const Framebuffer &
/* can we go to the end of the line? */ /* can we go to the end of the line? */
if ( frame.x + clear_count == f.ds.get_width() ) { if ( frame.x + clear_count == f.ds.get_width() ) {
snprintf( tmp, 64, "\033[K" ); frame.append( "\033[K" );
frame.append( tmp );
frame.x += clear_count; frame.x += clear_count;
} else { } else {
if ( has_ech ) { if ( has_ech ) {