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

Diff for /src/usr.bin/tmux/tty.c between version 1.365 and 1.366

version 1.365, 2020/05/16 14:22:51 version 1.366, 2020/05/16 14:34:44
Line 407 
Line 407 
                         tty_raw(tty, tty_term_string1(tty->term, TTYC_SS, 0));                          tty_raw(tty, tty_term_string1(tty->term, TTYC_SS, 0));
         }          }
         if (tty->mode & MODE_BRACKETPASTE)          if (tty->mode & MODE_BRACKETPASTE)
                 tty_raw(tty, "\033[?2004l");                  tty_raw(tty, tty_term_string(tty->term, TTYC_DSBP));
         if (*tty->ccolour != '\0')          if (*tty->ccolour != '\0')
                 tty_raw(tty, tty_term_string(tty->term, TTYC_CR));                  tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
   
Line 729 
Line 729 
         }          }
         if (changed & MODE_BRACKETPASTE) {          if (changed & MODE_BRACKETPASTE) {
                 if (mode & MODE_BRACKETPASTE)                  if (mode & MODE_BRACKETPASTE)
                         tty_puts(tty, "\033[?2004h");                          tty_putcode(tty, TTYC_ENBP);
                 else                  else
                         tty_puts(tty, "\033[?2004l");                          tty_putcode(tty, TTYC_DSBP);
         }          }
         tty->mode = mode;          tty->mode = mode;
 }  }

Legend:
Removed from v.1.365  
changed lines
  Added in v.1.366