From 2885e1d4414fc3614f9ef4e5b3561cff00c82ef7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 15 Oct 2020 20:54:04 -0700 Subject: 7037 Expanding words now working, but ctrl-f/ctrl-b inside expanded words not working right. --- apps/tile/main.mu | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'apps/tile/main.mu') diff --git a/apps/tile/main.mu b/apps/tile/main.mu index 24d82fbf..045c8374 100644 --- a/apps/tile/main.mu +++ b/apps/tile/main.mu @@ -75,17 +75,15 @@ fn test { var env-storage: environment var env/esi: (addr environment) <- address env-storage initialize-environment-with-fake-screen env, 5, 0xa - var g/eax: grapheme <- copy 0x61 # 'a' + var g/eax: grapheme <- copy 0x31 # '1' process env, g g <- copy 0x20 # space process env, g - g <- copy 0x62 # 'b' + g <- copy 0x32 # '2' process env, g - g <- copy 0x20 # space - process env, g - g <- copy 0x63 # 'c' + g <- copy 0x2a # '*' process env, g - g <- copy 2 # 'ctrl-b' + g <- copy 0xa # newline process env, g render env } -- cgit 1.4.1-2-gfad0 >Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/html/076scenario_keyboard_test.mu.html
blob: 9cc3b21a85a106012dd93c2342478362f60c0dd0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12