From 90560d7194f3e451ddab9d4033c98d2e6aec977b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 23 Aug 2015 10:19:23 -0700 Subject: 2062 --- html/074console.mu.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'html/074console.mu.html') diff --git a/html/074console.mu.html b/html/074console.mu.html index f362e5bd..04b12ea8 100644 --- a/html/074console.mu.html +++ b/html/074console.mu.html @@ -13,12 +13,12 @@ pre { white-space: pre-wrap; font-family: monospace; color: #eeeeee; background-color: #080808; } body { font-family: monospace; color: #eeeeee; background-color: #080808; } * { font-size: 1.05em; } -.muControl { color: #c0a020; } .muRecipe { color: #ff8700; } -.Delimiter { color: #a04060; } .Comment { color: #9090ff; } .Constant { color: #00a0a0; } .Special { color: #ff6060; } +.Delimiter { color: #a04060; } +.muControl { color: #c0a020; } --> @@ -37,6 +37,7 @@ exclusive-container event [ text:character keycode:number # keys on keyboard without a unicode representation touch:touch-event # mouse, track ball, etc. + resize:resize-event # update the assume-console handler if you add more variants ] @@ -46,6 +47,11 @@ container touch-event [ column:number ] +container resize-event [ + width:number + height:number +] + container console [ index:number data:address:array:event @@ -79,8 +85,7 @@ container console [ *idx <- add *idx, 1 reply result, x/same-as-ingredient:0, 1/found, 0/quit } - # real event source is infrequent; avoid polling it too much - switch + switch # real event source is infrequent; avoid polling it too much result:event, found?:boolean <- check-for-interaction reply result, x/same-as-ingredient:0, found?, 0/quit ] -- cgit 1.4.1-2-gfad0