about summary refs log tree commit diff stats
path: root/edit
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-08-22 08:02:22 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-08-22 08:08:31 -0700
commitfd256875325d6dddadfc02128fae6d5ab626bf8b (patch)
tree269bb381fde5f472a013140349d645849fd858c9 /edit
parentcf0839eaa9d460dc6da874bacc5f63e7afa74b7f (diff)
downloadmu-fd256875325d6dddadfc02128fae6d5ab626bf8b.tar.gz
3979
Diffstat (limited to 'edit')
-rw-r--r--edit/005-sandbox.mu8
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
   }