This commit is contained in:
Kartik K. Agaram 2021-09-02 12:44:18 -07:00
parent 38909fbce0
commit 1e1dd6b4d5
1 changed files with 1 additions and 1 deletions

View File

@ -153,8 +153,8 @@ fn draw-text-rightward-from-cursor-over-full-screen screen: (addr screen), text:
}
fn render-code-point screen: (addr screen), c: code-point, xmin: int, ymin: int, xmax: int, ymax: int, x: int, y: int, color: int, background-color: int -> _/eax: int, _/ecx: int {
compare c, 0xa/newline
var x/ecx: int <- copy x
compare c, 0xa/newline
{
break-if-!=
# minimum effort to clear cursor