Skip to content

Commit

Permalink
6824 - tile: gap in column width computation
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Sep 22, 2020
1 parent d387606 commit ce1b997
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/tile/environment.mu
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ fn render-column screen: (addr screen), first-word: (addr word), final-word: (ad
# render word, initialize result
move-cursor screen, 3, botleft-col # input-row
print-word screen, final-word
{
var size/eax: int <- word-length final-word
compare size, max-width
break-if-<=
max-width <- copy size
}

# update cursor
{
Expand Down

0 comments on commit ce1b997

Please sign in to comment.