about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--html/chessboard.mu.html10
1 files changed, 6 insertions, 4 deletions
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; }
 -->
 </style>
@@ -59,6 +59,7 @@ recipe main [
 <span class="Comment"># program.</span>
 
 scenario print-board-and-read-move [
+ <span class="Identifier"> $close-trace</span>  <span class="Comment"># this test generates a 300+ MB trace!</span>
   <span class="Comment"># we'll make the screen really wide because the program currently prints out a long line</span>
   assume-screen <span class="Constant">120:literal/width</span>, <span class="Constant">20:literal/height</span>
   <span class="Comment"># initialize keyboard to type in a move</span>
@@ -66,6 +67,8 @@ scenario print-board-and-read-move [
 <span class="Constant">]</span>
   run [
     screen:address, keyboard:address<span class="Special"> &lt;- </span>chessboard screen:address, keyboard:address
+    <span class="Comment"># icon for the cursor</span>
+    screen:address<span class="Special"> &lt;- </span>print-character screen:address, <span class="Constant">9251:literal</span>  <span class="Comment"># '␣'</span>
 <span class="CommentedCode">#?     $dump-screen #? 1</span>
   ]
   screen-should-contain [
@@ -88,11 +91,10 @@ scenario print-board-and-read-move [
    <span class="Constant"> .                                                                                                                        .</span>
    <span class="Constant"> .Hit 'q' to exit.                                                                                                        .</span>
    <span class="Constant"> .                                                                                                                        .</span>
-   <span class="Constant"> .move:                                                                                                                   .</span>
+   <span class="Constant"> .move: ␣                                                                                                                 .</span>
    <span class="Constant"> .                                                                                                                        .</span>
    <span class="Constant"> .                                                                                                                        .</span>
   ]
-  <span class="Comment"># todo: doesn't show the cursor position yet (it's right after the 'move: ')</span>
 ]
 
 recipe chessboard [