read-char-no-hang on fd 0 streams never returns data because sb-unix:unix-simple-poll on fd 0 returns NIL in this SBCL environment. Switched to (listen tty) + (read-char tty) which blocks until a key is pressed — correct interactive TUI behavior. Also switched from (open "/dev/tty") to (sb-sys:make-fd-stream 0 :input t :buffering :none) to directly read from stdin.
72 KiB
72 KiB