summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-07-20 15:50:05 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-07-20 15:50:05 +0000
commit918a57f19f83ea74630392debb745cc97c43209b (patch)
tree77ef3e94f53743259397bb4bbf787c7ec8f0f488 /usr.bin/tmux/options-table.c
parent7e8d55c987956212f6340113776de0a11f444373 (diff)
Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r--usr.bin/tmux/options-table.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c
index a71deb672ba..c7d78b41e16 100644
--- a/usr.bin/tmux/options-table.c
+++ b/usr.bin/tmux/options-table.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options-table.c,v 1.60 2015/05/12 15:29:29 nicm Exp $ */
+/* $OpenBSD: options-table.c,v 1.61 2015/07/20 15:50:04 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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,