version 1.264, 2017/04/18 18:21:37 |
version 1.265, 2017/04/18 21:41:42 |
|
|
#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) |
|
|
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; |