aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:26:34 +0000
committernicm <nicm>2020-05-16 16:26:34 +0000
commite2a26740b9880d0066c8a04ca2d7202e7f99bd07 (patch)
tree25ac0b2a7174e24b1e9df539b58aa21d98f3d65d /options-table.c
parentecbdcc256fd2c69c60c9d900a28922914d6b9896 (diff)
downloadrtmux-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 'options-table.c')
-rw-r--r--options-table.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index b1c4ec1b..4ac0d0c3 100644
--- a/options-table.c
+++ b/options-table.c
@@ -60,6 +60,9 @@ static const char *options_table_visual_bell_list[] = {
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", NULL
};
+static const char *options_table_pane_lines_list[] = {
+ "single", "double", "heavy", "simple", "number", NULL
+};
static const char *options_table_set_clipboard_list[] = {
"off", "external", "on", NULL
};
@@ -904,6 +907,14 @@ const struct options_table_entry options_table[] = {
.text = "Format of text in the pane status lines."
},
+ { .name = "pane-border-lines",
+ .type = OPTIONS_TABLE_CHOICE,
+ .scope = OPTIONS_TABLE_WINDOW,
+ .choices = options_table_pane_lines_list,
+ .default_num = PANE_LINES_SINGLE,
+ .text = "Type of the pane type lines."
+ },
+
{ .name = "pane-border-status",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,