diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-20 21:49:43 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-20 21:49:43 -0700 |
commit | 9d2d0593b4e78958de1322574b058f2a6d8fe521 (patch) | |
tree | 2c3af972103a427d42bd4ba4a95ec0787fc905e1 /sandbox | |
parent | bc870a4b8462a5b909dec8481cb6b5efe5a2ec34 (diff) | |
download | mu-9d2d0593b4e78958de1322574b058f2a6d8fe521.tar.gz |
3874
Improve fix of commit 3866.
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/004-programming-environment.mu | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sandbox/004-programming-environment.mu b/sandbox/004-programming-environment.mu index 978e8803..b260a110 100644 --- a/sandbox/004-programming-environment.mu +++ b/sandbox/004-programming-environment.mu @@ -80,7 +80,6 @@ def event-loop screen:&:screen, console:&:console, env:&:environment, resources: # not global and not a touch event { render?:bool <- handle-keyboard-event screen, current-sandbox, e:event - break-unless render? # try to batch up rendering if there are more events queued up render-all-on-no-more-events? <- or render-all-on-no-more-events?, render? more-events?:bool <- has-more-events? console @@ -90,8 +89,8 @@ def event-loop screen:&:screen, console:&:console, env:&:environment, resources: render-all-on-no-more-events? <- copy 0/false screen <- render-all screen, env, render } + screen <- update-cursor screen, current-sandbox, env } - screen <- update-cursor screen, current-sandbox, env loop } ] |