From c15b6e3fc6c7f2666e8de4bc138835139fc96fce Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 26 Oct 2020 22:53:11 -0700 Subject: 7122 - tile: styling for strings --- apps/tile/environment.mu | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/tile') 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 -- cgit 1.4.1-2-gfad0