
* flush the output before reading in `read-cmdline-syntax' * rep.ss starts readline only when the input is a terminal svn: r6128
10 lines
305 B
Scheme
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))
|