diff options
Diffstat (limited to 'shell/sandbox.mu')
-rw-r--r-- | shell/sandbox.mu | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/sandbox.mu b/shell/sandbox.mu index a2fe3758..6355baa8 100644 --- a/shell/sandbox.mu +++ b/shell/sandbox.mu @@ -521,7 +521,10 @@ fn edit-sandbox _self: (addr sandbox), key: byte, globals: (addr global-table), { compare g, 0x13/ctrl-s break-if-!= - # + # minor gotcha here: any bindings created later in this iteration won't be + # persisted. + # That's ok since we don't clear the gap buffer. If we start doing so + # we'll need to revisit where serialization happens. store-state data-disk, self, globals # run sandbox var data-ah/eax: (addr handle gap-buffer) <- get self, data |