Skip to content

Commit

Permalink
fix(terminal): calculate length correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-yeung authored and JanDeDobbeleer committed Jul 17, 2024
1 parent 57f0eec commit 4b5bac3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/terminal/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ func Write(background, foreground color.Ansi, text string) {
continue
}

length += runewidth.RuneWidth(s)
write(s)
}

Expand Down

0 comments on commit 4b5bac3

Please sign in to comment.