diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-02-15 13:27:02 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-02-15 13:27:02 -0800 |
commit | e848f3688fd723b12d07992b6fb442c8d26bfeb1 (patch) | |
tree | 5cc186b000e9671320ecc21662deddbcfca62960 /baremetal | |
parent | 6aaeadfee858b9dacfe391610b99c1c152853383 (diff) | |
download | mu-e848f3688fd723b12d07992b6fb442c8d26bfeb1.tar.gz |
7753
Diffstat (limited to 'baremetal')
-rw-r--r-- | baremetal/shell/line.mu | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/baremetal/shell/line.mu b/baremetal/shell/line.mu index aadba891..32b1422b 100644 --- a/baremetal/shell/line.mu +++ b/baremetal/shell/line.mu @@ -170,6 +170,7 @@ fn test-render-line-with-stack-singleton { check-screen-row screen, 1/y, " ", "F - test-render-line-with-stack-singleton/1" # ___ check-screen-row screen, 2/y, " 1 ", "F - test-render-line-with-stack-singleton/2" + check-screen-row screen, 3/y, " ", "F - test-render-line-with-stack-singleton/3" # not bothering to test hash colors for numbers } @@ -180,7 +181,7 @@ fn test-render-line-with-stack { # setup: screen var screen-on-stack: screen var screen/edi: (addr screen) <- address screen-on-stack - initialize-screen screen, 0x20, 4 + initialize-screen screen, 0x20, 8 # var new-x/eax: int <- copy 0 var new-y/ecx: int <- copy 0 @@ -190,6 +191,7 @@ fn test-render-line-with-stack { # ___ ___ check-screen-row screen, 2/y, " 1 2 ", "F - test-render-line-with-stack/2" check-screen-row screen, 3/y, " 1 ", "F - test-render-line-with-stack/3" + check-screen-row screen, 4/y, " ", "F - test-render-line-with-stack/4" # not bothering to test hash colors for numbers } @@ -201,7 +203,7 @@ fn test-render-line-with-stack-groups { # setup: screen var screen-on-stack: screen var screen/edi: (addr screen) <- address screen-on-stack - initialize-screen screen, 0x20, 4 + initialize-screen screen, 0x20, 8 # var new-x/eax: int <- copy 0 var new-y/ecx: int <- copy 0 @@ -211,6 +213,7 @@ fn test-render-line-with-stack-groups { # ___ ___ check-screen-row screen, 2/y, " 1 2 ", "F - test-render-line-with-stack-groups/2" check-screen-row screen, 3/y, " 1 ", "F - test-render-line-with-stack-groups/3" + check-screen-row screen, 4/y, " ", "F - test-render-line-with-stack-groups/4" } fn edit-line _self: (addr line), key: byte { |