Print out the character name for a given byte
This commit is contained in:
parent
33cca087ad
commit
428299d68e
|
@ -18,7 +18,7 @@
|
|||
(define ch (read-byte))
|
||||
(display (select-graphic-rendition ch))
|
||||
(display (clear-to-eol))
|
||||
(printf "Byte: ~v\015\012" ch)
|
||||
(printf "Byte: ~v ~s\015\012" ch (integer->char ch))
|
||||
(display (select-graphic-rendition))
|
||||
;;(flush-output)
|
||||
(if (member ch '(4 8 127)) ;; EOF, C-h, DEL
|
||||
|
|
Loading…
Reference in New Issue