diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-11-15 16:01:10 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-11-15 16:01:10 +0000 |
commit | 1afe9e98de5455f75b2753b26069c8d55bd22c81 (patch) | |
tree | 37cb57028322156d73c5bb1682016e3a284adbe3 /tmux.h | |
parent | fe7d9af3311bbaccb85fcb3aff2ec24462eac32e (diff) | |
parent | c34a79b152e1d27ed87417e6a940358990ab9e79 (diff) | |
download | rtmux-1afe9e98de5455f75b2753b26069c8d55bd22c81.tar.gz rtmux-1afe9e98de5455f75b2753b26069c8d55bd22c81.tar.bz2 rtmux-1afe9e98de5455f75b2753b26069c8d55bd22c81.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -1100,6 +1100,9 @@ struct tty { u_int rlower; u_int rupper; + u_int rleft; + u_int rright; + char *termname; struct tty_term *term; @@ -1120,6 +1123,15 @@ struct tty { int flags; int term_flags; + enum { + TTY_VT100, + TTY_VT101, + TTY_VT102, + TTY_VT220, + TTY_VT320, + TTY_VT420, + TTY_UNKNOWN + } term_type; struct mouse_event mouse; int mouse_drag_flag; @@ -1654,7 +1666,8 @@ void tty_raw(struct tty *, const char *); void tty_attributes(struct tty *, const struct grid_cell *, const struct window_pane *); void tty_reset(struct tty *); -void tty_region(struct tty *, u_int, u_int); +void tty_region_off(struct tty *); +void tty_margin_off(struct tty *); void tty_cursor(struct tty *, u_int, u_int); void tty_putcode(struct tty *, enum tty_code_code); void tty_putcode1(struct tty *, enum tty_code_code, int); @@ -1679,6 +1692,7 @@ void tty_draw_line(struct tty *, const struct window_pane *, struct screen *, int tty_open(struct tty *, char **); void tty_close(struct tty *); void tty_free(struct tty *); +void tty_set_type(struct tty *, int); void tty_write(void (*)(struct tty *, const struct tty_ctx *), struct tty_ctx *); void tty_cmd_alignmenttest(struct tty *, const struct tty_ctx *); |