about summary refs log tree commit diff stats
path: root/apps/tile/main.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-14 03:31:06 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-14 03:31:06 -0700
commit5fe86b8348817522477f0399af39120ba6afe3f7 (patch)
treec0893e54b2019c7947cb67a01043f5de92f3efd5 /apps/tile/main.mu
parent3b18846e1fe46e13f01169e86d61868878dc230b (diff)
downloadmu-5fe86b8348817522477f0399af39120ba6afe3f7.tar.gz
7020
snapshot: migrating call-path to store word handles rather than word indexes.

ctrl-a and ctrl-e are segfaulting. There are likely other problems.

The major new change here is that allocating a call-path-element no longer
initializes it.
Diffstat (limited to 'apps/tile/main.mu')
-rw-r--r--apps/tile/main.mu6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu
index cb6cde68..e9d1066f 100644
--- a/apps/tile/main.mu
+++ b/apps/tile/main.mu
@@ -74,13 +74,9 @@ fn interactive {
 fn test {
   var env-storage: environment
   var env/esi: (addr environment) <- address env-storage
-  initialize-environment-with-fake-screen env, 0x30, 0xd4  # 48 rows, 160 columns
+  initialize-environment-with-fake-screen env, 5, 0xa
   var g/eax: grapheme <- copy 0x61  # 'a'
   process env, g
-  g <- copy 0x61
-  process env, g
-  g <- copy 0x20
-  process env, g
   render env
 }