fix rendering

This commit is contained in:
Kartik K. Agaram 2021-04-28 17:54:02 -07:00
parent b9c59a5f5b
commit 7fa356abef
1 changed files with 1 additions and 1 deletions

View File

@ -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