Add an option to set the key sent by backspace for those whose system

uses ^H rather than ^?. GitHub issue 1969.
This commit is contained in:
nicm
2019-11-14 07:55:01 +00:00
parent c225262e13
commit 08b07b1a08
5 changed files with 32 additions and 9 deletions

View File

@ -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,