test-modes.rkt, from Oct 29 2011.
This commit is contained in:
parent
80b2f1c70b
commit
ef520fea8d
|
@ -0,0 +1,21 @@
|
|||
#lang racket/base
|
||||
|
||||
(require "ansi.rkt")
|
||||
|
||||
(define (display* . vs)
|
||||
(for-each display vs)
|
||||
(flush-output))
|
||||
|
||||
(display* (dec-soft-terminal-reset)
|
||||
(select-graphic-rendition style-bold
|
||||
(style-text-color color-yellow)
|
||||
(style-background-color color-blue))
|
||||
(clear-screen/home))
|
||||
|
||||
(display* (reset-mode send/receive-mode))
|
||||
|
||||
(display (read-char))
|
||||
(display (read-char))
|
||||
(display (read-char))
|
||||
|
||||
(display* (dec-soft-terminal-reset))
|
Loading…
Reference in New Issue