@@ -272,7 +272,7 @@ void NotificationEngine::apply( Framebuffer &fb ) const
272272 this_cell->get_renditions ().set_attribute (Renditions::bold, true );
273273 this_cell->get_renditions ().set_foreground_color ( 7 );
274274 this_cell->get_renditions ().set_background_color ( 4 );
275-
275+
276276 this_cell->append ( ch );
277277 this_cell->set_wide ( chwidth == 2 );
278278 combining_cell = this_cell;
@@ -306,7 +306,7 @@ void NotificationEngine::adjust_message( void )
306306{
307307 if ( timestamp () >= message_expiration ) {
308308 message.clear ();
309- }
309+ }
310310}
311311
312312int NotificationEngine::wait_time ( void ) const
@@ -420,7 +420,7 @@ void PredictionEngine::init_cursor( const Framebuffer &fb )
420420{
421421 if ( cursors.empty () ) {
422422 /* initialize new cursor prediction */
423-
423+
424424 cursors.push_back ( ConditionalCursorMove ( local_frame_sent + 1 ,
425425 fb.ds .get_cursor_row (),
426426 fb.ds .get_cursor_col (),
@@ -552,7 +552,7 @@ void PredictionEngine::cull( const Framebuffer &fb )
552552 }
553553
554554 /* When predictions come in quickly, slowly take away the glitch trigger. */
555- if ( now - j->prediction_time < GLITCH_THRESHOLD
555+ if ( now - j->prediction_time < GLITCH_THRESHOLD
556556 && ( glitch_trigger > 0 && now - GLITCH_REPAIR_MININTERVAL >= last_quick_confirmation ) ) {
557557 glitch_trigger--;
558558 last_quick_confirmation = now;
@@ -593,7 +593,7 @@ void PredictionEngine::cull( const Framebuffer &fb )
593593 }
594594
595595 /* go through cursor predictions */
596- if ( !cursors.empty ()
596+ if ( !cursors.empty ()
597597 && cursor ().get_validity ( fb,
598598 local_frame_acked, local_frame_late_acked ) == IncorrectOrExpired ) {
599599 /*
@@ -721,7 +721,7 @@ void PredictionEngine::new_user_byte( char the_byte, const Framebuffer &fb )
721721 cell.tentative_until_epoch = prediction_epoch;
722722 cell.expire ( local_frame_sent + 1 , now );
723723 cell.original_contents .push_back ( *fb.get_cell ( cursor ().row , i ) );
724-
724+
725725 if ( i + 2 < fb.ds .get_width () ) {
726726 ConditionalOverlayCell &next_cell = the_row.overlay_cells [ i + 1 ];
727727 const Cell *next_cell_actual = fb.get_cell ( cursor ().row , i + 1 );
@@ -788,7 +788,7 @@ void PredictionEngine::new_user_byte( char the_byte, const Framebuffer &fb )
788788 cell.replacement = *prev_cell_actual;
789789 }
790790 }
791-
791+
792792 ConditionalOverlayCell &cell = the_row.overlay_cells [ cursor ().col ];
793793 cell.reset_with_orig ();
794794 cell.active = true ;
@@ -834,7 +834,7 @@ void PredictionEngine::new_user_byte( char the_byte, const Framebuffer &fb )
834834 newline_carriage_return ( fb );
835835 } else {
836836 // fprintf( stderr, "Execute 0x%x\n", act.ch );
837- become_tentative ();
837+ become_tentative ();
838838 }
839839 } else if ( type_act == typeid ( Parser::Esc_Dispatch ) ) {
840840 // fprintf( stderr, "Escape sequence\n" );
@@ -848,7 +848,7 @@ void PredictionEngine::new_user_byte( char the_byte, const Framebuffer &fb )
848848 }
849849 } else if ( act.char_present && (act.ch == L' D' ) ) { /* left arrow */
850850 init_cursor ( fb );
851-
851+
852852 if ( cursor ().col > 0 ) {
853853 cursor ().col --;
854854 cursor ().expire ( local_frame_sent + 1 , now );
0 commit comments