diff options
author | nicm <nicm> | 2015-07-20 15:50:04 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-07-20 15:50:04 +0000 |
commit | 92af3766ecc456bd8ade8fe5746d27f4557fdaa8 (patch) | |
tree | 371174df95c9f8b2bd7e515505325853c88040d0 /server.c | |
parent | d4ce210713cc907fc69497c51cf9b64d2f414ca4 (diff) | |
download | rtmux-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 'server.c')
-rw-r--r-- | server.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -240,6 +240,7 @@ server_start(int lockfd, char *lockfile) cfg_add_cause("%s: %s", cfg_file, cause); } cmdq_continue(cfg_cmd_q); + status_prompt_load_history(); server_add_accept(0); @@ -250,6 +251,7 @@ server_start(int lockfd, char *lockfile) set_signals(server_signal_callback); server_loop(); + status_prompt_save_history(); exit(0); } |