about summary refs log tree commit diff stats
path: root/tests/test_cmd_connect.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cmd_connect.h')
0 files changed, 0 insertions, 0 deletions
13' href='#n13'>13 14 15 16 17 18 19 20



















                                           
#lang racket/base
;; For legal info, see file "charterm.rkt".

;; (require (planet neil/charterm:1))
(require "charterm.rkt")

(with-charterm
 (charterm-clear-screen)
 (charterm-cursor 10 5)
 (charterm-display "Hello, ")
 (charterm-bold)
 (charterm-display "you")
 (charterm-normal)
 (charterm-display ".")
 (charterm-cursor 1 1)
 (charterm-display "Press a key...")
 (let ((key (charterm-read-key)))
   (charterm-cursor 1 1)
   (charterm-clear-line)
   (printf "You pressed: ~S\r\n" key)))