From 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 3 Dec 2017 23:25:40 -0800 Subject: 4134 - 'input' = 'ingredient' --- html/084console.mu.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/084console.mu.html') diff --git a/html/084console.mu.html b/html/084console.mu.html index 952c646e..42963a93 100644 --- a/html/084console.mu.html +++ b/html/084console.mu.html @@ -88,14 +88,14 @@ if ('onhashchange' in window) { 27 28 def new-fake-console events:&:@:event -> result:&:console [ 29 local-scope - 30 load-ingredients + 30 load-inputs 31 result:&:console <- new console:type 32 *result <- put *result, events:offset, events 33 ] 34 35 def read-event console:&:console -> result:event, found?:bool, quit?:bool, console:&:console [ 36 local-scope - 37 load-ingredients + 37 load-inputs 38 { 39 ¦ break-unless console 40 ¦ current-event-index:num <- get *console, current-event-index:offset @@ -122,7 +122,7 @@ if ('onhashchange' in window) { 61 # newlines, tabs, ctrl-d.. 62 def read-key console:&:console -> result:char, found?:bool, quit?:bool, console:&:console [ 63 local-scope - 64 load-ingredients + 64 load-inputs 65 x:event, found?:bool, quit?:bool, console <- read-event console 66 return-if quit?, 0, found?, quit? 67 return-unless found?, 0, found?, quit? @@ -133,7 +133,7 @@ if ('onhashchange' in window) { 72 73 def send-keys-to-channel console:&:console, chan:&:sink:char, screen:&:screen -> console:&:console, chan:&:sink:char, screen:&:screen [ 74 local-scope - 75 load-ingredients + 75 load-inputs 76 { 77 ¦ c:char, found?:bool, quit?:bool, console <- read-key console 78 ¦ loop-unless found? @@ -148,7 +148,7 @@ if ('onhashchange' in window) { 87 88 def wait-for-event console:&:console -> console:&:console [ 89 local-scope - 90 load-ingredients + 90 load-inputs 91 { 92 ¦ _, found?:bool <- read-event console 93 ¦ break-if found? @@ -159,7 +159,7 @@ if ('onhashchange' in window) { 98 99 def has-more-events? console:&:console -> result:bool [ 100 local-scope -101 load-ingredients +101 load-inputs 102 return-if console, 0/false # fake events are processed as soon as they arrive 103 result <- interactions-left? 104 ] -- cgit 1.4.1-2-gfad0