[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.264 and 1.265

version 1.264, 2017/04/18 18:21:37 version 1.265, 2017/04/18 21:41:42
Line 74 
Line 74 
 #define tty_use_acs(tty) \  #define tty_use_acs(tty) \
         (tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))          (tty_term_has((tty)->term, TTYC_ACSC) && !((tty)->flags & TTY_UTF8))
 #define tty_use_margin(tty) \  #define tty_use_margin(tty) \
         ((tty)->term_type == TTY_VT420 || (tty)->term_type == TTY_ITERM2)          ((tty)->term_type == TTY_VT420)
   
 #define tty_pane_full_width(tty, ctx) \  #define tty_pane_full_width(tty, ctx) \
         ((ctx)->xoff == 0 && screen_size_x((ctx)->wp->screen) >= (tty)->sx)          ((ctx)->xoff == 0 && screen_size_x((ctx)->wp->screen) >= (tty)->sx)
Line 251 
Line 251 
                         tty->flags |= TTY_FOCUS;                          tty->flags |= TTY_FOCUS;
                         tty_puts(tty, "\033[?1004h");                          tty_puts(tty, "\033[?1004h");
                 }                  }
                 tty_puts(tty, "\033[c\033[1337n");                  tty_puts(tty, "\033[c");
         }          }
   
         tty->flags |= TTY_STARTED;          tty->flags |= TTY_STARTED;

Legend:
Removed from v.1.264  
changed lines
  Added in v.1.265