[BACK]Return to input.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/input.c between version 1.113 and 1.114

version 1.113, 2017/02/08 15:49:29 version 1.114, 2017/02/08 16:45:18
Line 896 
Line 896 
                 }                  }
   
                 /*                  /*
                    * Any state except print stops the current collection. This is
                    * an optimization to avoid checking if the attributes have
                    * changed for every character. It will stop unnecessarily for
                    * sequences that don't make a terminal change, but they should
                    * be the minority.
                    */
                   if (itr->handler != input_print)
                           screen_write_collect_end(&ictx->ctx);
   
                   /*
                  * Execute the handler, if any. Don't switch state if it                   * Execute the handler, if any. Don't switch state if it
                  * returns non-zero.                   * returns non-zero.
                  */                   */
Line 1020 
Line 1030 
                 ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;                  ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
   
         utf8_set(&ictx->cell.cell.data, ictx->ch);          utf8_set(&ictx->cell.cell.data, ictx->ch);
         screen_write_cell(&ictx->ctx, &ictx->cell.cell);          screen_write_collect_add(&ictx->ctx, &ictx->cell.cell);
   
         ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;          ictx->cell.cell.attr &= ~GRID_ATTR_CHARSET;
   

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.114