about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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