about summary refs log tree commit diff stats
path: root/shell
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-04-28 17:08:15 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-04-28 17:08:15 -0700
commitef8dc999ca73bc3bcce1cdd1b86290b3fb689f4f (patch)
treeb5fea48174b674b4861212b0d6209f9e6b67ed74 /shell
parentd5d3e02ad4b3f8ffd4374e7b0b4496dec2251b1e (diff)
downloadmu-ef8dc999ca73bc3bcce1cdd1b86290b3fb689f4f.tar.gz
.
Diffstat (limited to 'shell')
-rw-r--r--shell/sandbox.mu4
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