From 2c56af2d8f791902f5ff59754c0277eddeb27a3e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Wed, 11 Nov 2020 23:43:04 -0800 Subject: 7227 --- html/apps/browse/main.mu.html | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'html/apps/browse/main.mu.html') diff --git a/html/apps/browse/main.mu.html b/html/apps/browse/main.mu.html index 8059945e..3974fe09 100644 --- a/html/apps/browse/main.mu.html +++ b/html/apps/browse/main.mu.html @@ -128,7 +128,7 @@ if ('onhashchange' in window) { 69 # input text 70 var input-storage: (handle buffered-file) 71 var input-ah/eax: (addr handle buffered-file) <- address input-storage - 72 populate-buffered-file-containing "abcdefgh", input-ah + 72 populate-buffered-file-containing "abcdefgh", input-ah 73 var in/eax: (addr buffered-file) <- lookup input-storage 74 # output screen 75 var pg: paginated-screen @@ -138,16 +138,16 @@ if ('onhashchange' in window) { 79 render pg-addr, in 80 var screen-ah/eax: (addr handle screen) <- get pg, screen 81 var screen/eax: (addr screen) <- lookup *screen-ah - 82 check-screen-row screen, 1, " ", "F - test-render-multicolumn-text/row1" - 83 check-screen-row screen, 2, " ab ef", "F - test-render-multicolumn-text/row2" - 84 check-screen-row screen, 3, " cd gh", "F - test-render-multicolumn-text/row3" + 82 check-screen-row screen, 1, " ", "F - test-render-multicolumn-text/row1" + 83 check-screen-row screen, 2, " ab ef", "F - test-render-multicolumn-text/row2" + 84 check-screen-row screen, 3, " cd gh", "F - test-render-multicolumn-text/row3" 85 } 86 87 fn test-render-heading-text { 88 # input text 89 var input-storage: (handle buffered-file) 90 var input-ah/eax: (addr handle buffered-file) <- address input-storage - 91 populate-buffered-file-containing "# abc\n\ndef", input-ah + 91 populate-buffered-file-containing "# abc\n\ndef", input-ah 92 var in/eax: (addr buffered-file) <- lookup input-storage 93 # output screen 94 var pg: paginated-screen @@ -157,17 +157,17 @@ if ('onhashchange' in window) { 98 render pg-addr, in 99 var screen-ah/eax: (addr handle screen) <- get pg, screen 100 var screen/eax: (addr screen) <- lookup *screen-ah -101 check-screen-row screen, 1, " ", "F - test-render-heading-text/row1" -102 check-screen-row-in-color screen, 0xa0, 2, " abc ", "F - test-render-heading-text/heading" -103 check-screen-row screen, 3, " ", "F - test-render-heading-text/row3" -104 check-screen-row screen, 4, " def ", "F - test-render-heading-text/row4" +101 check-screen-row screen, 1, " ", "F - test-render-heading-text/row1" +102 check-screen-row-in-color screen, 0xa0, 2, " abc ", "F - test-render-heading-text/heading" +103 check-screen-row screen, 3, " ", "F - test-render-heading-text/row3" +104 check-screen-row screen, 4, " def ", "F - test-render-heading-text/row4" 105 } 106 107 fn test-render-bold-text { 108 # input text 109 var input-storage: (handle buffered-file) 110 var input-ah/eax: (addr handle buffered-file) <- address input-storage -111 populate-buffered-file-containing "a *b* c", input-ah +111 populate-buffered-file-containing "a *b* c", input-ah 112 var in/eax: (addr buffered-file) <- lookup input-storage 113 # output screen 114 var pg: paginated-screen @@ -177,8 +177,8 @@ if ('onhashchange' in window) { 118 render pg-addr, in 119 var screen-ah/eax: (addr handle screen) <- get pg, screen 120 var screen/eax: (addr screen) <- lookup *screen-ah -121 check-screen-row screen, 2, " a b c", "F - test-render-bold-text/text" -122 check-screen-row-in-bold screen, 2, " b ", "F - test-render-bold-text/bold" +121 check-screen-row screen, 2, " a b c", "F - test-render-bold-text/text" +122 check-screen-row-in-bold screen, 2, " b ", "F - test-render-bold-text/bold" 123 } 124 125 # terminals don't always support italics, so we'll just always render italics @@ -187,7 +187,7 @@ if ('onhashchange' in window) { 128 # input text 129 var input-storage: (handle buffered-file) 130 var input-ah/eax: (addr handle buffered-file) <- address input-storage -131 populate-buffered-file-containing "a _b_ c", input-ah +131 populate-buffered-file-containing "a _b_ c", input-ah 132 var in/eax: (addr buffered-file) <- lookup input-storage 133 # output screen 134 var pg: paginated-screen @@ -197,15 +197,15 @@ if ('onhashchange' in window) { 138 render pg-addr, in 139 var screen-ah/eax: (addr handle screen) <- get pg, screen 140 var screen/eax: (addr screen) <- lookup *screen-ah -141 check-screen-row screen, 2, " a b c", "F - test-render-pseudoitalic-text/text" -142 check-screen-row-in-bold screen, 2, " b ", "F - test-render-pseudoitalic-text/bold" +141 check-screen-row screen, 2, " a b c", "F - test-render-pseudoitalic-text/text" +142 check-screen-row-in-bold screen, 2, " b ", "F - test-render-pseudoitalic-text/bold" 143 } 144 145 fn test-render-asterisk-in-text { 146 # input text 147 var input-storage: (handle buffered-file) 148 var input-ah/eax: (addr handle buffered-file) <- address input-storage -149 populate-buffered-file-containing "a*b*c", input-ah +149 populate-buffered-file-containing "a*b*c", input-ah 150 var in/eax: (addr buffered-file) <- lookup input-storage 151 # output screen 152 var pg: paginated-screen @@ -215,8 +215,8 @@ if ('onhashchange' in window) { 156 render pg-addr, in 157 var screen-ah/eax: (addr handle screen) <- get pg, screen 158 var screen/eax: (addr screen) <- lookup *screen-ah -159 check-screen-row screen, 2, " a*b*c", "F - test-render-bold-text/text" -160 check-screen-row-in-bold screen, 2, " ", "F - test-render-bold-text/bold" +159 check-screen-row screen, 2, " a*b*c", "F - test-render-bold-text/text" +160 check-screen-row-in-bold screen, 2, " ", "F - test-render-bold-text/bold" 161 } 162 163 fn render-normal screen: (addr paginated-screen), fs: (addr buffered-file) { -- cgit 1.4.1-2-gfad0