aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2019-11-14 07:55:01 +0000
committernicm <nicm>2019-11-14 07:55:01 +0000
commit08b07b1a08ad02f7a195437deead0a60f971e1ee (patch)
tree008cb66149cd8540af544c6f73d4094d096dc18b /options-table.c
parentc225262e132ded1b4e1e8c0bd21884e9da78ddb3 (diff)
downloadrtmux-08b07b1a08ad02f7a195437deead0a60f971e1ee.tar.gz
rtmux-08b07b1a08ad02f7a195437deead0a60f971e1ee.tar.bz2
rtmux-08b07b1a08ad02f7a195437deead0a60f971e1ee.zip
Add an option to set the key sent by backspace for those whose system
uses ^H rather than ^?. GitHub issue 1969.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 77dbfb13..cbe5197d 100644
--- a/options-table.c
+++ b/options-table.c
@@ -147,6 +147,12 @@ static const char *options_table_status_format_default[] = {
/* Top-level options. */
const struct options_table_entry options_table[] = {
/* Server options. */
+ { .name = "backspace",
+ .type = OPTIONS_TABLE_KEY,
+ .scope = OPTIONS_TABLE_SERVER,
+ .default_num = '\177',
+ },
+
{ .name = "buffer-limit",
.type = OPTIONS_TABLE_NUMBER,
.scope = OPTIONS_TABLE_SERVER,