about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-28 17:54:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-28 17:54:02 -0700
commit7fa356abef56cc72e730f7bc0648c3968a3464d6 (patch)
tree4dae4ba28c57568c63ad88a4238e0285bb1c76ac /shell
parentb9c59a5f5be95b284fe4fbdf5b71c5265f8c52ee (diff)
downloadmu-7fa356abef56cc72e730f7bc0648c3968a3464d6.tar.gz
fix rendering
Diffstat (limited to 'shell')
-rw-r--r--shell/global.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/global.mu b/shell/global.mu
index 3e37825b..52b68f80 100644
--- a/shell/global.mu
+++ b/shell/global.mu
@@ -155,7 +155,7 @@ fn render-globals screen: (addr screen), _self: (addr global-table), xmin: int,
       var _curr-input/eax: (addr gap-buffer) <- lookup *curr-input-ah
       var curr-input/ebx: (addr gap-buffer) <- copy _curr-input
       var x/eax: int <- copy xmin
-      x, y <- render-gap-buffer-wrapping-right-then-down screen, curr-input, xmin, ymin, xmax, ymax, 0/no-cursor
+      x, y <- render-gap-buffer-wrapping-right-then-down screen, curr-input, xmin, y, xmax, ymax, 0/no-cursor
     }
     curr-index <- decrement
     y <- increment