diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-23 22:04:31 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-23 22:04:31 -0700 |
commit | b2dd7e6a91c1cd6f641e977aec2e34019619441d (patch) | |
tree | a93968abe2e7111b9ec290f44a62617436cd7258 /shell | |
parent | 0f5b9a1534634a9bb9cf8caa66aac09832326546 (diff) | |
download | mu-b2dd7e6a91c1cd6f641e977aec2e34019619441d.tar.gz |
start truncating trace lines
Diffstat (limited to 'shell')
-rw-r--r-- | shell/trace.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/trace.mu b/shell/trace.mu index 43b19246..ba779273 100644 --- a/shell/trace.mu +++ b/shell/trace.mu @@ -526,7 +526,7 @@ fn render-trace-line screen: (addr screen), _self: (addr trace-line), xmin: int, var _data/eax: (addr array byte) <- lookup *data-ah var data/ebx: (addr array byte) <- copy _data var x/eax: int <- copy xsave - x, y <- draw-text-wrapping-right-then-down screen, data, xmin, ymin, xmax, ymax, x, y, fg, bg + x <- draw-text-rightward screen, data, x, xmax, y, fg, bg y <- increment return y } |