about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-01-23 14:27:44 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-01-23 14:27:44 -0800
commit23cd041bf83c72def4e4001306f3761bed42d268 (patch)
tree86454e720dd558f5edcf443277a2c80f05138592
parentee67a3417802a66e2d8741536dedf99baf78cc5a (diff)
downloadmu-23cd041bf83c72def4e4001306f3761bed42d268.tar.gz
2597
Finish 2595.
-rw-r--r--sandbox/005-sandbox.mu3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu
index 2821f2db..31aa243d 100644
--- a/sandbox/005-sandbox.mu
+++ b/sandbox/005-sandbox.mu
@@ -347,6 +347,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