From 295e50f0257fd8d5102ac2077a9431723ba68f58 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 29 Jul 2021 07:55:28 -0700 Subject: shell: reliable image rendering --- shell/cell.mu | 1 + 1 file changed, 1 insertion(+) (limited to 'shell') diff --git a/shell/cell.mu b/shell/cell.mu index ada86a29..2bf114a8 100644 --- a/shell/cell.mu +++ b/shell/cell.mu @@ -299,6 +299,7 @@ fn array? _x: (addr cell) -> _/eax: boolean { } fn new-image _out-ah: (addr handle cell), in: (addr stream byte) { + rewind-stream in var out-ah/eax: (addr handle cell) <- copy _out-ah allocate out-ah var out/eax: (addr cell) <- lookup *out-ah -- cgit 1.4.1-2-gfad0