[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.170 and 1.171

version 1.170, 2014/08/09 07:33:37 version 1.171, 2015/01/20 08:18:04
Line 482 
Line 482 
                 mode &= ~MODE_CURSOR;                  mode &= ~MODE_CURSOR;
   
         changed = mode ^ tty->mode;          changed = mode ^ tty->mode;
         if (changed & MODE_CURSOR) {          if (changed & (MODE_CURSOR|MODE_BLINKING)) {
                 if (mode & MODE_CURSOR)                  if (mode & MODE_CURSOR) {
                         tty_putcode(tty, TTYC_CNORM);                          if (mode & MODE_BLINKING &&
                 else                              tty_term_has(tty->term, TTYC_CVVIS))
                                   tty_putcode(tty, TTYC_CVVIS);
                           else
                                   tty_putcode(tty, TTYC_CNORM);
                   } else
                         tty_putcode(tty, TTYC_CIVIS);                          tty_putcode(tty, TTYC_CIVIS);
         }          }
         if (tty->cstyle != s->cstyle) {          if (tty->cstyle != s->cstyle) {

Legend:
Removed from v.1.170  
changed lines
  Added in v.1.171