mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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.
This commit is contained in:
11
tmux.h
11
tmux.h
@ -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 *);
|
||||
|
Reference in New Issue
Block a user