From ef8dc999ca73bc3bcce1cdd1b86290b3fb689f4f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 28 Apr 2021 17:08:15 -0700 Subject: . --- shell/sandbox.mu | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/sandbox.mu b/shell/sandbox.mu index 20d9f5fd..ed824958 100644 --- a/shell/sandbox.mu +++ b/shell/sandbox.mu @@ -563,9 +563,7 @@ 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. + # persisted until the next call to ctrl-s. store-state data-disk, self, globals # run sandbox var data-ah/ecx: (addr handle gap-buffer) <- get self, data -- cgit 1.4.1-2-gfad0