diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-14 16:49:08 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-05-14 16:49:08 +0100 |
commit | 31621036ad38ef3a2d88da838eb021430ea3c944 (patch) | |
tree | d1506a2d621f6a0c65a81f14cf6ba411ed3bb5b9 /format-draw.c | |
parent | 97c8374855c216a645d558e5d56212e6c002cd72 (diff) | |
download | rtmux-31621036ad38ef3a2d88da838eb021430ea3c944.tar.gz rtmux-31621036ad38ef3a2d88da838eb021430ea3c944.tar.bz2 rtmux-31621036ad38ef3a2d88da838eb021430ea3c944.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 'format-draw.c')
-rw-r--r-- | format-draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/format-draw.c b/format-draw.c index bd32b2a8..ec98ba95 100644 --- a/format-draw.c +++ b/format-draw.c @@ -600,7 +600,8 @@ format_draw(struct screen_write_ctx *octx, const struct grid_cell *base, /* If this style pushed or popped the default, update it. */ if (sy.default_type == STYLE_DEFAULT_PUSH) { - memcpy(¤t_default, &saved_sy.gc, sizeof current_default); + memcpy(¤t_default, &saved_sy.gc, + sizeof current_default); sy.default_type = STYLE_DEFAULT_BASE; } else if (sy.default_type == STYLE_DEFAULT_POP) { memcpy(¤t_default, base, sizeof current_default); |