about summary refs log tree commit diff stats
path: root/baremetal/shell/sandbox.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-24 22:37:13 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-24 22:37:13 -0800
commit640896da212aebd8457ba69cddc4986f0f594a73 (patch)
treef9c2ed74839ca515c5afbe289506f5d5e401d315 /baremetal/shell/sandbox.mu
parent56dd4530cc0e2676b12825ade2054cee6a71ff54 (diff)
downloadmu-640896da212aebd8457ba69cddc4986f0f594a73.tar.gz
7801 - baremetal/shell: expanding trace
Diffstat (limited to 'baremetal/shell/sandbox.mu')
-rw-r--r--baremetal/shell/sandbox.mu3
1 files changed, 2 insertions, 1 deletions
diff --git a/baremetal/shell/sandbox.mu b/baremetal/shell/sandbox.mu
index 92e88fc8..6d5f64db 100644
--- a/baremetal/shell/sandbox.mu
+++ b/baremetal/shell/sandbox.mu
@@ -16,7 +16,7 @@ fn initialize-sandbox _self: (addr sandbox) {
   var trace-ah/eax: (addr handle trace) <- get self, trace
   allocate trace-ah
   var trace/eax: (addr trace) <- lookup *trace-ah
-  initialize-trace trace, 0x100/lines
+  initialize-trace trace, 0x100/lines, 0x10/visible-lines
 }
 
 ## some helpers for tests
@@ -176,6 +176,7 @@ fn run in: (addr gap-buffer), out: (addr stream byte), trace: (addr trace) {
   }
   # TODO: eval
   print-cell read-result, out
+  mark-lines-dirty trace
 }
 
 fn test-run-integer {