racket/collects/readline/rep-start.ss
Eli Barzilay bab0a88ada * print a newline before reading if not at column 0
* flush the output before reading in `read-cmdline-syntax'
* rep.ss starts readline only when the input is a terminal

svn: r6128
2007-05-03 09:17:24 +00:00

10 lines
305 B
Scheme

;; This module initializes readline unconditionally, "rep.ss" uses it if we're
;; using a `terminal-port?' for input.
(module rep-start mzscheme
(require "pread.ss")
;; Change the input port and readline-prompt hook
(current-input-port readline-input)
(current-prompt-read read-cmdline-syntax))