diff options
Diffstat (limited to 'edit')
-rw-r--r-- | edit/005-sandbox.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu index 3e609d70..6c74ca29 100644 --- a/edit/005-sandbox.mu +++ b/edit/005-sandbox.mu @@ -132,15 +132,15 @@ after <global-keypress> [ error?:bool <- run-sandboxes env, resources, screen # we could just render-all, but we do some work to minimize the number of prints to screen <render-recipe-errors-on-F4> + { + break-unless error? + <render-sandbox-errors-on-F4> + } screen <- render-sandbox-side screen, env, render { break-if error? screen <- update-status screen, [ ], 245/grey } - { - break-unless error? - <render-sandbox-errors-on-F4> - } screen <- update-cursor screen, recipes, current-sandbox, sandbox-in-focus?, env loop +next-event } |