commit c6e760822079b72a02ac4dc23d9b88cae4725f53 parent e4d4906151fcd3ac22024672822d2facd25a7e6a Author: Byron Torres <b@torresjrjr.com> Date: Sun, 19 Feb 2023 18:18:15 +0000 fix allocation Diffstat:
M | main.ha | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.ha b/main.ha @@ -36,8 +36,8 @@ export fn main() void = { let s = session { buf = buffer { - lines = [ alloc(line { ... }) ], - trash = [], + lines = *alloc([ alloc(line { ... }) ]), + trash = *alloc([]: []*line), ... }, prompt = "*",