about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--edit/005-sandbox.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/edit/005-sandbox.mu b/edit/005-sandbox.mu
index 160c4794..1de12fa8 100644
--- a/edit/005-sandbox.mu
+++ b/edit/005-sandbox.mu
@@ -367,6 +367,9 @@ recipe restore-sandboxes env:address:shared:programming-environment-data -> env:
     curr <- get-address **curr, next-sandbox:offset
     loop
   }
+  # update sandbox count
+  number-of-sandboxes:address:number <- get-address *env, number-of-sandboxes:offset
+  *number-of-sandboxes <- copy idx
 ]
 
 # print the fake sandbox screen to 'screen' with appropriate delimiters