diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-26 22:53:11 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-26 23:45:40 -0700 |
commit | c15b6e3fc6c7f2666e8de4bc138835139fc96fce (patch) | |
tree | 62af6bb2ff08c941848a6af88c11990e1ee13be0 | |
parent | 22ade886d56c3336c7104ca54d86fa3625275a44 (diff) | |
download | mu-c15b6e3fc6c7f2666e8de4bc138835139fc96fce.tar.gz |
7122 - tile: styling for strings
-rw-r--r-- | apps/tile/environment.mu | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu index f483367f..94fe8476 100644 --- a/apps/tile/environment.mu +++ b/apps/tile/environment.mu @@ -1415,9 +1415,14 @@ $render-value:body: { break-if-!= var val-ah/eax: (addr handle array byte) <- get val, text-data var val-string/eax: (addr array byte) <- lookup *val-ah + start-color screen, 0xf2, 7 + print-code-point screen, 0x275d + reset-formatting screen start-color screen, 0, 7 - print-grapheme screen, 0x20 # space print-string screen, val-string + start-color screen, 0xf2, 7 + print-code-point screen, 0x275e + reset-formatting screen break $render-value:body } compare *val-type, 2 # array |