This commit is contained in:
Kartik K. Agaram 2021-05-29 16:49:36 -07:00
parent af46771821
commit 58c801db0f
1 changed files with 1 additions and 1 deletions

View File

@ -421,13 +421,13 @@ fn mark-lines-clean _self: (addr trace) {
fn render-trace screen: (addr screen), _self: (addr trace), xmin: int, ymin: int, xmax: int, ymax: int, show-cursor?: boolean -> _/ecx: int {
var already-hiding-lines?: boolean
var y/ecx: int <- copy ymin
var self/esi: (addr trace) <- copy _self
compare self, 0
{
break-if-!=
abort "null trace"
}
var y/ecx: int <- copy ymin
clamp-cursor-to-top self, y
var trace-ah/eax: (addr handle array trace-line) <- get self, data
var _trace/eax: (addr array trace-line) <- lookup *trace-ah