summaryrefslogtreecommitdiffstats
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli.c b/src/cli.c
index c853183..7a3b727 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -177,4 +177,5 @@ void cli_exit(void)
rl_callback_handler_remove();
rl_deprep_terminal();
write_history(histfile);
+ clear_history();
}