about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-08 17:03:29 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-08 17:03:29 -0700
commitc12cca678e2d9e25155426649626ab36a79fcacc (patch)
treed50217857de59ef852dd8a372e77ef0a402f4818
parent59ab8289ba62c4354952626d853ed5c014a5025b (diff)
downloadmu-c12cca678e2d9e25155426649626ab36a79fcacc.tar.gz
1730
Switch to F10 because F9 is in use under my setup.
-rw-r--r--edit.mu10
1 files changed, 5 insertions, 5 deletions
diff --git a/edit.mu b/edit.mu
index d420eebf..7c6cadee 100644
--- a/edit.mu
+++ b/edit.mu
@@ -30,7 +30,7 @@ recipe programming-environment [
   # nav bar
   button-start:number <- subtract width:number, 20:literal
   move-cursor screen:address, 0:literal/row, button-start:number/column
-  run-button:address:array:character <- new [  run (F9)  ]
+  run-button:address:array:character <- new [ run (F10)  ]
   print-string screen:address, run-button:address:array:character, 255:literal/white, 161:literal/reddish
   # editor on the left
   left:address:array:character <- new [recipe new-add [
@@ -496,9 +496,9 @@ recipe event-loop [
     {
       k:address:number <- maybe-convert e:event, keycode:variant
       break-unless k:address:number
-      # F9? load all code and run all sandboxes.
+      # F10? load all code and run all sandboxes.
       {
-        do-run?:boolean <- equal k:address:number/deref, 65527:literal/F9
+        do-run?:boolean <- equal k:address:number/deref, 65526:literal/F10
         break-unless do-run?:boolean
         run-sandboxes editor:address:editor-data, screen:address
         loop +next-event:label  # done with this event; no need to send to editors
@@ -1856,7 +1856,7 @@ scenario run-and-show-results [
   reset-focus 2:address:editor-data
   # run the code in the editors
   assume-console [
-    press 65527  # F9
+    press 65526  # F10
   ]
   run [
     # now run query for it
@@ -1924,7 +1924,7 @@ scenario run-instruction-and-print-warnings [
   reset-focus 2:address:editor-data
   # run the code in the editors
   assume-console [
-    press 65527  # F9
+    press 65526  # F10
   ]
   run [
     # now run query for it