]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
i9e: Clear history on close.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 14 Jun 2023 21:15:18 +0000 (23:15 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 17 Mar 2024 11:34:54 +0000 (12:34 +0100)
interactive.c

index 1376cf1d72739b3f7c9c3218dd96666a5d475812..4d48742f686862bb8d5fe8871116925309dbc978 100644 (file)
@@ -229,6 +229,7 @@ void i9e_close(void)
        rl_callback_handler_remove();
        if (hf)
                write_history(hf);
+       clear_history();
        wipe_bottom_line();
        fcntl(i9ep->ici->fds[0], F_SETFL, i9ep->fd_flags[0]);
        fcntl(i9ep->ici->fds[1], F_SETFL, i9ep->fd_flags[1]);