aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2015-07-20 15:50:04 +0000
committernicm <nicm>2015-07-20 15:50:04 +0000
commit92af3766ecc456bd8ade8fe5746d27f4557fdaa8 (patch)
tree371174df95c9f8b2bd7e515505325853c88040d0 /options-table.c
parentd4ce210713cc907fc69497c51cf9b64d2f414ca4 (diff)
downloadrtmux-92af3766ecc456bd8ade8fe5746d27f4557fdaa8.tar.gz
rtmux-92af3766ecc456bd8ade8fe5746d27f4557fdaa8.tar.bz2
rtmux-92af3766ecc456bd8ade8fe5746d27f4557fdaa8.zip
Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 4ad45d37..7f75d22c 100644
--- a/options-table.c
+++ b/options-table.c
@@ -83,6 +83,11 @@ const struct options_table_entry server_options_table[] = {
.default_num = 0
},
+ { .name = "history-file",
+ .type = OPTIONS_TABLE_STRING,
+ .default_str = NULL
+ },
+
{ .name = "message-limit",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 0,