diff options
author | nicm <nicm> | 2020-05-16 16:26:34 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 16:26:34 +0000 |
commit | e2a26740b9880d0066c8a04ca2d7202e7f99bd07 (patch) | |
tree | 25ac0b2a7174e24b1e9df539b58aa21d98f3d65d /tmux.h | |
parent | ecbdcc256fd2c69c60c9d900a28922914d6b9896 (diff) | |
download | rtmux-e2a26740b9880d0066c8a04ca2d7202e7f99bd07.tar.gz rtmux-e2a26740b9880d0066c8a04ca2d7202e7f99bd07.tar.bz2 rtmux-e2a26740b9880d0066c8a04ca2d7202e7f99bd07.zip |
Add an option to set the pane border lines style from a choice of single
lines (ACS or UTF-8), double or heavy (UTF-8), simple (plain ASCII) or
number (the pane numbers). Lines that won't work on a non-UTF-8 terminal
are translated back into ACS when they are output.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -820,6 +820,7 @@ struct screen_redraw_ctx { int statustop; int pane_status; + int pane_lines; u_int sx; u_int sy; @@ -1050,6 +1051,13 @@ TAILQ_HEAD(winlink_stack, winlink); #define PANE_STATUS_TOP 1 #define PANE_STATUS_BOTTOM 2 +/* Pane border lines option. */ +#define PANE_LINES_SINGLE 0 +#define PANE_LINES_DOUBLE 1 +#define PANE_LINES_HEAVY 2 +#define PANE_LINES_SIMPLE 3 +#define PANE_LINES_NUMBER 4 + /* Layout direction. */ enum layout_type { LAYOUT_LEFTRIGHT, @@ -2030,6 +2038,8 @@ void tty_putcode_ptr2(struct tty *, enum tty_code_code, const void *, void tty_puts(struct tty *, const char *); void tty_putc(struct tty *, u_char); void tty_putn(struct tty *, const void *, size_t, u_int); +void tty_cell(struct tty *, const struct grid_cell *, + const struct grid_cell *, int *); int tty_init(struct tty *, struct client *, int); void tty_resize(struct tty *); void tty_set_size(struct tty *, u_int, u_int, u_int, u_int); @@ -2103,6 +2113,7 @@ void tty_default_features(int *, const char *, u_int); /* tty-acs.c */ int tty_acs_needed(struct tty *); const char *tty_acs_get(struct tty *, u_char); +int tty_acs_reverse_get(struct tty *, const char *, size_t); /* tty-keys.c */ void tty_keys_build(struct tty *); |