cl-repl
cl-repl copied to clipboard
Add History Support
Is there any chance that history support could get added?
It sounds possible, because the binding is now available in cl-readline (it was missing when cl-repl started, IIRC).
;; read history before startup.
(rl:read-history "/tmp/readline_history")
(rl:readline :prompt (prompt)
:add-history t)
(rl:write-history "/tmp/readline_history")
possibly, with one or two global variables that control if we enable the read/write history.