[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.104 and 1.105

version 1.104, 2016/10/03 22:52:11 version 1.105, 2016/10/13 20:27:27
Line 1283 
Line 1283 
                 screen_write_clearcharacter(sctx, input_get(ictx, 0, 1, 1));                  screen_write_clearcharacter(sctx, input_get(ictx, 0, 1, 1));
                 break;                  break;
         case INPUT_CSI_DCH:          case INPUT_CSI_DCH:
                 screen_write_deletecharacter(sctx, input_get(ictx, 0, 1, 1));                  screen_write_deletecharacter(sctx, input_get(ictx, 0, 1, 1),
                       ictx->cell.cell.bg);
                 break;                  break;
         case INPUT_CSI_DECSTBM:          case INPUT_CSI_DECSTBM:
                 n = input_get(ictx, 0, 1, 1);                  n = input_get(ictx, 0, 1, 1);
Line 1291 
Line 1292 
                 screen_write_scrollregion(sctx, n - 1, m - 1);                  screen_write_scrollregion(sctx, n - 1, m - 1);
                 break;                  break;
         case INPUT_CSI_DL:          case INPUT_CSI_DL:
                 screen_write_deleteline(sctx, input_get(ictx, 0, 1, 1));                  screen_write_deleteline(sctx, input_get(ictx, 0, 1, 1),
                       ictx->cell.cell.bg);
                 break;                  break;
         case INPUT_CSI_DSR:          case INPUT_CSI_DSR:
                 switch (input_get(ictx, 0, 0, 0)) {                  switch (input_get(ictx, 0, 0, 0)) {
Line 1309 
Line 1311 
         case INPUT_CSI_ED:          case INPUT_CSI_ED:
                 switch (input_get(ictx, 0, 0, 0)) {                  switch (input_get(ictx, 0, 0, 0)) {
                 case 0:                  case 0:
                         screen_write_clearendofscreen(sctx);                          screen_write_clearendofscreen(sctx, ictx->cell.cell.bg);
                         break;                          break;
                 case 1:                  case 1:
                         screen_write_clearstartofscreen(sctx);                          screen_write_clearstartofscreen(sctx);
                         break;                          break;
                 case 2:                  case 2:
                         screen_write_clearscreen(sctx);                          screen_write_clearscreen(sctx, ictx->cell.cell.bg);
                         break;                          break;
                 case 3:                  case 3:
                         switch (input_get(ictx, 1, 0, 0)) {                          switch (input_get(ictx, 1, 0, 0)) {
Line 1336 
Line 1338 
         case INPUT_CSI_EL:          case INPUT_CSI_EL:
                 switch (input_get(ictx, 0, 0, 0)) {                  switch (input_get(ictx, 0, 0, 0)) {
                 case 0:                  case 0:
                         screen_write_clearendofline(sctx);                          screen_write_clearendofline(sctx, ictx->cell.cell.bg);
                         break;                          break;
                 case 1:                  case 1:
                         screen_write_clearstartofline(sctx);                          screen_write_clearstartofline(sctx, ictx->cell.cell.bg);
                         break;                          break;
                 case 2:                  case 2:
                         screen_write_clearline(sctx);                          screen_write_clearline(sctx, ictx->cell.cell.bg);
                         break;                          break;
                 default:                  default:
                         log_debug("%s: unknown '%c'", __func__, ictx->ch);                          log_debug("%s: unknown '%c'", __func__, ictx->ch);
Line 1354 
Line 1356 
                 screen_write_cursormove(sctx, n - 1, s->cy);                  screen_write_cursormove(sctx, n - 1, s->cy);
                 break;                  break;
         case INPUT_CSI_ICH:          case INPUT_CSI_ICH:
                 screen_write_insertcharacter(sctx, input_get(ictx, 0, 1, 1));                  screen_write_insertcharacter(sctx, input_get(ictx, 0, 1, 1),
                       ictx->cell.cell.bg);
                 break;                  break;
         case INPUT_CSI_IL:          case INPUT_CSI_IL:
                 screen_write_insertline(sctx, input_get(ictx, 0, 1, 1));                  screen_write_insertline(sctx, input_get(ictx, 0, 1, 1),
                           ictx->cell.cell.bg);
                 break;                  break;
         case INPUT_CSI_RCP:          case INPUT_CSI_RCP:
                 memcpy(&ictx->cell, &ictx->old_cell, sizeof ictx->cell);                  memcpy(&ictx->cell, &ictx->old_cell, sizeof ictx->cell);
Line 1445 
Line 1449 
                         break;                          break;
                 case 3:         /* DECCOLM */                  case 3:         /* DECCOLM */
                         screen_write_cursormove(&ictx->ctx, 0, 0);                          screen_write_cursormove(&ictx->ctx, 0, 0);
                         screen_write_clearscreen(&ictx->ctx);                          screen_write_clearscreen(&ictx->ctx,
                               ictx->cell.cell.bg);
                         break;                          break;
                 case 7:         /* DECAWM */                  case 7:         /* DECAWM */
                         screen_write_mode_clear(&ictx->ctx, MODE_WRAP);                          screen_write_mode_clear(&ictx->ctx, MODE_WRAP);
Line 1522 
Line 1527 
                         break;                          break;
                 case 3:         /* DECCOLM */                  case 3:         /* DECCOLM */
                         screen_write_cursormove(&ictx->ctx, 0, 0);                          screen_write_cursormove(&ictx->ctx, 0, 0);
                         screen_write_clearscreen(&ictx->ctx);                          screen_write_clearscreen(&ictx->ctx,
                               ictx->cell.cell.bg);
                         break;                          break;
                 case 7:         /* DECAWM */                  case 7:         /* DECAWM */
                         screen_write_mode_set(&ictx->ctx, MODE_WRAP);                          screen_write_mode_set(&ictx->ctx, MODE_WRAP);

Legend:
Removed from v.1.104  
changed lines
  Added in v.1.105