diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-03 21:49:03 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-03 21:49:03 -0800 |
commit | 2d14f6c9714694736f22177534d21e33aeb8af71 (patch) | |
tree | c8e6ba3581a81f63390257a3a80f0573c41daea4 /apps/tile | |
parent | f2ee237eeab12fd9dff9254978cb353b5e17bd16 (diff) | |
download | mu-2d14f6c9714694736f22177534d21e33aeb8af71.tar.gz |
7327
Diffstat (limited to 'apps/tile')
-rw-r--r-- | apps/tile/environment.mu | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index 4ed23ecc..be17254e 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -1478,16 +1478,16 @@ fn clear-canvas _env: (addr environment) { var screen/edi: (addr screen) <- copy _screen clear-screen screen var nrows/eax: (addr int) <- get env, nrows - 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 + var _sep-col/ecx: (addr int) <- get env, code-separator-col + var sep-col/ecx: int <- copy *_sep-col + draw-vertical-line screen, 1, *nrows, sep-col # wordstar-style cheatsheet of shortcuts move-cursor screen, *nrows, 0 start-reverse-video screen print-string screen, " ctrl-q " reset-formatting screen print-string screen, " quit " - var menu-start/ebx: int <- copy repl-col + var menu-start/ebx: int <- copy sep-col menu-start <- subtract 0x48 # 72 = half the size of the menu move-cursor screen, *nrows, menu-start start-reverse-video screen @@ -1523,9 +1523,9 @@ fn clear-canvas _env: (addr environment) { reset-formatting screen print-string screen, " define function " # primitives - var dummy/eax: int <- render-primitives screen, *nrows, repl-col + var dummy/eax: int <- render-primitives screen, *nrows, sep-col # currently defined functions - render-functions screen, repl-col, env + render-functions screen, sep-col, env } # return value: top-most row written to |