chibi-scheme/lib/chibi/term/edit-line.sld
Alex Shinn ce7d8505f8 Control-C in edit-line should kill the process by default.
Adding a convenience keyword to change this to reset the
current input as done in the repl.
2014-01-14 22:19:33 +09:00

11 lines
481 B
Scheme

(define-library (chibi term edit-line)
(export make-line-editor edit-line edit-line-repl
make-history history-insert! history-reset!
history-commit! history->list list->history buffer->string
make-buffer buffer-make-completer
buffer-clear buffer-refresh buffer-draw
buffer-row buffer-col
make-keymap make-standard-keymap)
(import (chibi) (chibi stty) (chibi process) (srfi 9) (srfi 33))
(include "edit-line.scm"))