about summary refs log tree commit diff stats
path: root/apps/tile/environment.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-15 20:48:27 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-15 20:48:27 -0700
commit514dea3aab02a88775f789f3f0a03de9307976d7 (patch)
tree5877ee696d80d508718d5d3172c82046ec4bbb2c /apps/tile/environment.mu
parent70da3b384695acc628c31922d1ed2d14da2a3eed (diff)
downloadmu-514dea3aab02a88775f789f3f0a03de9307976d7.tar.gz
7036
ctrl-u now working.
Diffstat (limited to 'apps/tile/environment.mu')
-rw-r--r--apps/tile/environment.mu7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 56a35b0f..5113d4e3 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -312,12 +312,7 @@ $process:body: {
     $process:clear-line: {
       break-if-!=
       # clear line in sandbox
-      var cursor-call-path-ah/eax: (addr handle call-path-element) <- get sandbox, cursor-call-path
-      allocate cursor-call-path-ah
-      var line-ah/eax: (addr handle line) <- get sandbox, data
-      allocate line-ah
-      var line/eax: (addr line) <- lookup *line-ah
-      initialize-line line
+      initialize-sandbox sandbox
       break $process:body
     }
     # if cursor is within a call, disable editing hotkeys below