Re: [racket-users] Strange readline/racket-mode behavior

2021-09-24 Thread David Storrs
The dev team will have to answer your actual question, but I thought I might offer a more compact solution that incorporates the fix you mentioned: (define (yn #:read-one-char? [read-one-char? #f]) (display "y/n: ") (flush-output (current-output-port)) (define func (if read-one-char?

[racket-users] Strange readline/racket-mode behavior

2021-09-24 Thread Winston Weinert
Hey everyone, I was working on a procedure to prompt the user for confirmation and found something a bit strange - it did not appear to read for input when usingt "racket -i" or in the Emacs Racket REPL buffer. Here is the code: (define (yn #:read-one-char? [read-one-char? #f]) (display "y/n: