diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 07:55:28 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-07-29 07:55:28 -0700 |
commit | 295e50f0257fd8d5102ac2077a9431723ba68f58 (patch) | |
tree | 6dcd742c1a4772af63540a0de2c91787aafc08c5 | |
parent | e9fb7e4453606011c77af31c228d2211e94be770 (diff) | |
download | mu-295e50f0257fd8d5102ac2077a9431723ba68f58.tar.gz |
shell: reliable image rendering
-rw-r--r-- | shell/cell.mu | 1 |
1 files changed, 1 insertions, 0 deletions
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 |