This module implements persistency of the commandline history over Prolog sessions on Prolog installations that are based on the GNU readline library (default for the development version on Unix systems).
The history is stored in the directory <config>/dir-history
. For
each directory for which it keeps the history, there is file whose name
is the base32 encoding of the directory path.
This file is normally loaded when Prolog is started if user_input
is a
terminal and the system supports history.
save_history
to false
, such that the
history is not saved on halt.