about summary refs log tree commit diff stats
path: root/084console.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 13:00:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 13:00:39 -0700
commita0331a9b0eab63a000dcd022fe605d124c573b8d (patch)
tree5c7403d16fd8c9d31ead65495eae84edf9cfc2e4 /084console.mu
parent760f683f2755038a1b0c16522f5001b889096aa5 (diff)
downloadmu-a0331a9b0eab63a000dcd022fe605d124c573b8d.tar.gz
3390
Diffstat (limited to '084console.mu')
-rw-r--r--084console.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/084console.mu b/084console.mu
index 9923e0bc..0ae0f610 100644
--- a/084console.mu
+++ b/084console.mu
@@ -22,10 +22,10 @@ container resize-event [
 
 container console [
   current-event-index:num
-  events:&:array:event
+  events:&:@:event
 ]
 
-def new-fake-console events:&:array:event -> result:&:console [
+def new-fake-console events:&:@:event -> result:&:console [
   local-scope
   load-ingredients
   result:&:console <- new console:type
@@ -38,7 +38,7 @@ def read-event console:&:console -> result:event, console:&:console, found?:bool
   {
     break-unless console
     current-event-index:num <- get *console, current-event-index:offset
-    buf:&:array:event <- get *console, events:offset
+    buf:&:@:event <- get *console, events:offset
     {
       max:num <- length *buf
       done?:bool <- greater-or-equal current-event-index, max