diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-04-28 17:08:15 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-04-28 17:08:15 -0700 |
commit | ef8dc999ca73bc3bcce1cdd1b86290b3fb689f4f (patch) | |
tree | b5fea48174b674b4861212b0d6209f9e6b67ed74 /shell | |
parent | d5d3e02ad4b3f8ffd4374e7b0b4496dec2251b1e (diff) | |
download | mu-ef8dc999ca73bc3bcce1cdd1b86290b3fb689f4f.tar.gz |
.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/sandbox.mu | 4 |
1 files changed, 1 insertions, 3 deletions
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 |