File: qa-read-key

package info (click to toggle)
newlisp 10.7.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 6,248 kB
  • sloc: ansic: 33,280; lisp: 4,181; sh: 609; makefile: 215
file content (5 lines) | stat: -rw-r--r-- 105 bytes parent folder | download
1
2
3
4
5
(while true
    (print ".") (sleep 100)
    (if (!= 0 (set 'chr (read-key true))) (println " " chr)))
)