about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-22 22:28:10 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-22 22:28:10 -0700
commit3702858928fa5ff4fef363f286462114096e0592 (patch)
tree71c4f6145c03b7370147039d27f1561e2e5dd0d3
parent5234c224d0c0b31c699857487b025dc051f71d31 (diff)
downloadmu-3702858928fa5ff4fef363f286462114096e0592.tar.gz
6841
Initial sketch for a menu bar.
-rw-r--r--apps/tile/environment.mu9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index d7a7a92c..b86c898a 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -316,4 +316,13 @@ fn clear-canvas _env: (addr environment) {
   repl-col <- add 2  # repl-margin-left
   move-cursor screen, 5, repl-col  # input-row + stack-margin-top
   print-string screen, "stack:"
+  move-cursor screen, *nrows, repl-col
+  start-reverse-video screen
+  print-string screen, " ctrl-r "
+  reset-formatting screen
+  print-string screen, " rename  "
+  start-reverse-video screen
+  print-string screen, " ctrl-s "
+  reset-formatting screen
+  print-string screen, " tbd  "
 }