Added GNU readline.

master
Thomas Hintz 14 years ago
parent da4fc7f5d2
commit 4804d6e1e4

@ -1,4 +1,7 @@
(use shell) (use shell readline regex)
(current-input-port (make-gnu-readline-port))
(gnu-history-install-file-manager (string-append (or (getenv "HOME") ".") "/.csi.history"))
(define (shell-repl) (define (shell-repl)
(let ((x (read))) (let ((x (read)))
@ -6,7 +9,6 @@
#t #t
(begin (execute (list x)) (begin (execute (list x))
(newline) (newline)
(display "#;> ")
(shell-repl))))) (shell-repl)))))
(shell-repl) (shell-repl)
Loading…
Cancel
Save