diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-25 14:34:40 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-25 14:34:40 -0700 |
commit | f37e7f33e8cf57f82181ce137ab74ec5cd28e1d9 (patch) | |
tree | dc7eeea4dffc4c77fa2741a3a20d3c338922aabf /apps/tile/main.mu | |
parent | 4dad0efa8dfe7f7ce339f7d2d7b1aa817810665d (diff) | |
download | mu-f37e7f33e8cf57f82181ce137ab74ec5cd28e1d9.tar.gz |
7098 - tile: string values
Strings can contain spaces.
Diffstat (limited to 'apps/tile/main.mu')
-rw-r--r-- | apps/tile/main.mu | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/apps/tile/main.mu b/apps/tile/main.mu index 4cf325a1..d4f53535 100644 --- a/apps/tile/main.mu +++ b/apps/tile/main.mu @@ -75,21 +75,13 @@ 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 0x31 # '1' + var g/eax: grapheme <- copy 0x22 # '"' process env, g - g <- copy 0x20 # space - process env, g - g <- copy 0x32 # '2' - process env, g - g <- copy 0x33 # '3' - process env, g - g <- copy 0x445b1b # left-arrow - process env, g - g <- copy 0x445b1b # left-arrow + g <- copy 0x31 # '1' process env, g g <- copy 0x20 # space process env, g - g <- copy 0x445b1b # left-arrow + g <- copy 0x33 # '3' process env, g } |