From 68df24fa778f7f5a2651a4623681f38dc920c490 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 7 Sep 2020 16:38:14 -0700 Subject: 6746 --- html/apps/browse.mu.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'html/apps/browse.mu.html') diff --git a/html/apps/browse.mu.html b/html/apps/browse.mu.html index eebd104a..0af54fb7 100644 --- a/html/apps/browse.mu.html +++ b/html/apps/browse.mu.html @@ -70,7 +70,7 @@ if ('onhashchange' in window) { 30 enable-screen-grid-mode 31 var nrows/eax: int <- copy 0 32 var ncols/ecx: int <- copy 0 - 33 nrows, ncols <- screen-size 0 + 33 nrows, ncols <- screen-size 0 34 enable-keyboard-immediate-mode 35 { 36 render file, nrows, ncols @@ -105,7 +105,7 @@ if ('onhashchange' in window) { 65 var leftcol/edx: int <- copy 5 # page-margin 66 var rightcol/ebx: int <- copy leftcol 67 rightcol <- add 0x40 # page-width = 64 characters - 68 start-color 0, 0xec, 7 # 236 = darkish gray + 68 start-color 0, 0xec, 7 # 236 = darkish gray 69 { 70 compare rightcol, ncols 71 break-if->= @@ -126,7 +126,7 @@ if ('onhashchange' in window) { 86 compare row, botrow 87 break-if->= 88 var col/edx: int <- copy leftcol - 89 move-cursor 0, row, col + 89 move-cursor 0, row, col 90 { 91 compare col, rightcol 92 break-if->= @@ -137,7 +137,7 @@ if ('onhashchange' in window) { 97 compare c, 0xa # newline 98 break-if-= # no need to print newlines 99 var g/eax: grapheme <- copy c -100 print-grapheme 0, g +100 print-grapheme 0, g 101 col <- increment 102 loop 103 } @@ -157,7 +157,7 @@ if ('onhashchange' in window) { 117 { 118 break-if-!= 119 # r->current-state == 0 && c == '*' -120 start-bold 0 +120 start-bold 0 121 copy-to *state, 1 122 break $update-attributes:check-state 123 } @@ -165,7 +165,7 @@ if ('onhashchange' in window) { 125 { 126 break-if-!= 127 # r->current-state == 0 && c == '_' -128 start-bold 0 +128 start-bold 0 129 copy-to *state, 1 130 break $update-attributes:check-state 131 } @@ -177,7 +177,7 @@ if ('onhashchange' in window) { 137 { 138 break-if-!= 139 # r->current-state == 1 && c == '*' -140 reset-formatting 0 +140 reset-formatting 0 141 copy-to *state, 0 142 break $update-attributes:check-state 143 } @@ -185,7 +185,7 @@ if ('onhashchange' in window) { 145 { 146 break-if-!= 147 # r->current-state == 1 && c == '_' -148 reset-formatting 0 +148 reset-formatting 0 149 copy-to *state, 0 150 break $update-attributes:check-state 151 } @@ -200,11 +200,11 @@ if ('onhashchange' in window) { 160 compare row, botrow 161 break-if->= 162 var col/edx: int <- copy leftcol -163 move-cursor 0, row, col +163 move-cursor 0, row, col 164 { 165 compare col, rightcol 166 break-if->= -167 print-string 0, " " +167 print-string 0, " " 168 col <- increment 169 loop 170 } @@ -218,7 +218,7 @@ if ('onhashchange' in window) { 178 compare c, 0xffffffff # EOF marker 179 break-if-= 180 var g/eax: grapheme <- copy c -181 print-grapheme 0, g +181 print-grapheme 0, g 182 loop 183 } -- cgit 1.4.1-2-gfad0