From 7134bfa24fdbd9fe9e2a57d91941052797ddd6c7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 30 May 2020 23:30:59 -0700 Subject: 6451 Now the trailing asterisk or underscore renders correctly, for starters. --- apps/browse.mu | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/browse.mu b/apps/browse.mu index c71d1dec..62079194 100644 --- a/apps/browse.mu +++ b/apps/browse.mu @@ -104,20 +104,24 @@ $update-attributes:check-state: { compare c, 0x2a # '*' { break-if-!= + print-byte c + col <- increment # r->current-state == 1 && c == '*' reset-formatting start-color 0xec, 7 # 236 = darkish gray copy-to *state, 0 - break $update-attributes:check-state + loop $char-loop } compare c, 0x5f # '_' { break-if-!= + print-byte c + col <- increment # r->current-state == 1 && c == '_' reset-formatting start-color 0xec, 7 # 236 = darkish gray copy-to *state, 0 - break $update-attributes:check-state + loop $char-loop } break $update-attributes:check-state } -- cgit 1.4.1-2-gfad0