about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-10 22:07:13 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-10 22:07:13 -0700
commit4b75c6b5546606d0d91b35a2d84841d3e919d4d3 (patch)
treec092dee7e2fe4472df881ed39de608e033f1b93e /apps
parent3d203a4484ec1603a7e39b0c533daef0827ebf58 (diff)
downloadmu-4b75c6b5546606d0d91b35a2d84841d3e919d4d3.tar.gz
6997
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/environment.mu10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 7e2b360b..ee8a894b 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -710,6 +710,16 @@ fn clear-canvas _env: (addr environment) {
   var _repl-col/ecx: (addr int) <- get env, code-separator-col
   var repl-col/ecx: int <- copy *_repl-col
   draw-vertical-line screen, 1, *nrows, repl-col
+  # wordstar-style cheatsheet of shortcuts
+  start-reverse-video screen
+  print-string screen, " ctrl-p "
+  reset-formatting screen
+  print-string screen, " prev word  "
+  start-reverse-video screen
+  print-string screen, " ctrl-n "
+  reset-formatting screen
+  print-string screen, " next word  "
+  # currently defined functions
   move-cursor screen, 3, 2
   print-string screen, "x 2* = x 2 *"
   move-cursor screen, 4, 2