Get the timing and delayed ACKs right(er)

This commit is contained in:
Keith Winstein
2011-08-19 04:46:12 -04:00
parent fdfd7b010b
commit 772d476022
9 changed files with 153 additions and 58 deletions
+5 -1
View File
@@ -33,7 +33,11 @@ string Complete::act( const Action *act )
/* interface for Network::Transport */
string Complete::diff_from( const Complete &existing )
{
return Terminal::Display::new_frame( true, existing.get_fb(), terminal.get_fb() );
if ( existing.get_fb() == get_fb() ) {
return "";
} else {
return Terminal::Display::new_frame( true, existing.get_fb(), terminal.get_fb() );
}
}
void Complete::apply_string( string diff )