From e2a26740b9880d0066c8a04ca2d7202e7f99bd07 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 16:26:34 +0000 Subject: 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. --- format-draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'format-draw.c') 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); -- cgit v1.2.3