=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.944 retrieving revision 1.945 diff -c -r1.944 -r1.945 *** src/usr.bin/tmux/tmux.h 2019/12/30 21:24:55 1.944 --- src/usr.bin/tmux/tmux.h 2020/01/12 21:07:07 1.945 *************** *** 1,4 **** ! /* $OpenBSD: tmux.h,v 1.944 2019/12/30 21:24:55 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: tmux.h,v 1.945 2020/01/12 21:07:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 1168,1174 **** struct tty_code *codes; #define TERM_256COLOURS 0x1 ! #define TERM_EARLYWRAP 0x2 int flags; LIST_ENTRY(tty_term) entry; --- 1168,1176 ---- struct tty_code *codes; #define TERM_256COLOURS 0x1 ! #define TERM_NOXENL 0x2 ! #define TERM_DECSLRM 0x4 ! #define TERM_DECFRA 0x8 int flags; LIST_ENTRY(tty_term) entry; *************** *** 1230,1245 **** struct tty_term *term; char *term_name; int term_flags; - enum { - TTY_VT100, - TTY_VT101, - TTY_VT102, - TTY_VT220, - TTY_VT320, - TTY_VT420, - TTY_VT520, - TTY_UNKNOWN - } term_type; u_int mouse_last_x; u_int mouse_last_y; --- 1232,1237 ---- *************** *** 1253,1267 **** struct event key_timer; struct tty_key *key_tree; }; - #define TTY_TYPES \ - { "VT100", \ - "VT101", \ - "VT102", \ - "VT220", \ - "VT320", \ - "VT420", \ - "VT520", \ - "Unknown" } /* TTY command context. */ struct tty_ctx { --- 1245,1250 ---- *************** *** 1992,1998 **** 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 *); --- 1975,1981 ---- int tty_open(struct tty *, char **); void tty_close(struct tty *); void tty_free(struct tty *); ! void tty_set_flags(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 *);