diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 15:50:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-23 15:50:57 -0700 |
commit | d803b68769947a419ef176d5c80446fcba5e9ee3 (patch) | |
tree | 37e48143eadbd6297d835819e01176e46c7fd939 /edit/004-programming-environment.mu | |
parent | 300a1d6e8033f1766d5203b15ff3ea8570e4b79b (diff) | |
download | mu-d803b68769947a419ef176d5c80446fcba5e9ee3.tar.gz |
3565
Cleaning up the console interfaces before we start changing the socket interfaces to look like them. Reading from sockets need to be non-blocking just like reading from the console.
Diffstat (limited to 'edit/004-programming-environment.mu')
-rw-r--r-- | edit/004-programming-environment.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit/004-programming-environment.mu b/edit/004-programming-environment.mu index d7107b35..13969cf3 100644 --- a/edit/004-programming-environment.mu +++ b/edit/004-programming-environment.mu @@ -61,7 +61,7 @@ def event-loop screen:&:screen, console:&:console, env:&:environment -> screen:& { # looping over each (keyboard or touch) event as it occurs +next-event - e:event, console, found?:bool, quit?:bool <- read-event console + e:event, found?:bool, quit?:bool, console <- read-event console loop-unless found? break-if quit? # only in tests trace 10, [app], [next-event] |