;; Example of reading a raw keyboard input from console, using text.console. (use text.console) (define (main _) (for-each (^c (write c) (newline)) (call-with-console (guard (e [else (exit 1 (condition-message e))]) (make-default-console)) get-raw-chars)) 0)