From 9a660d2deb56d8b32d0da1de28e789dc8b9e32f0 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 18 May 2015 20:43:54 -0700 Subject: 1402 --- html/chessboard.mu.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'html') diff --git a/html/chessboard.mu.html b/html/chessboard.mu.html index 7a0a3c9e..8bc66fce 100644 --- a/html/chessboard.mu.html +++ b/html/chessboard.mu.html @@ -13,12 +13,12 @@ pre { white-space: pre-wrap; font-family: monospace; color: #d0d0d0; background-color: #000000; } body { font-family: monospace; color: #d0d0d0; background-color: #000000; } * { font-size: 1em; } -.Identifier { color: #008080; } +.CommentedCode { color: #6c6c6c; } .Delimiter { color: #c000c0; } .Comment { color: #8080ff; } .Constant { color: #008080; } .Special { color: #ff6060; } -.CommentedCode { color: #6c6c6c; } +.Identifier { color: #008080; } .SalientComment { color: #00ffff; } --> @@ -59,6 +59,7 @@ recipe main [ # program. scenario print-board-and-read-move [ + $close-trace # this test generates a 300+ MB trace! # we'll make the screen really wide because the program currently prints out a long line assume-screen 120:literal/width, 20:literal/height # initialize keyboard to type in a move @@ -66,6 +67,8 @@ scenario print-board-and-read-move [ ] run [ screen:address, keyboard:address <- chessboard screen:address, keyboard:address + # icon for the cursor + screen:address <- print-character screen:address, 9251:literal # '␣' #? $dump-screen #? 1 ] screen-should-contain [ @@ -88,11 +91,10 @@ scenario print-board-and-read-move [ . . .Hit 'q' to exit. . . . - .move: . + .move: ␣ . . . . . ] - # todo: doesn't show the cursor position yet (it's right after the 'move: ') ] recipe chessboard [ -- cgit 1.4.1-2-gfad0