Page content now renders to the entire terminal width

This commit is contained in:
asdf 2020-06-23 14:56:10 +10:00
parent 57b3afd4d7
commit d2c8af2a08
1 changed files with 1 additions and 1 deletions

View File

@ -122,8 +122,8 @@ func (c *client) Draw() {
} else {
for i := 0; i < c.Height-3; i++ {
if i < len(pageContent) {
screen.WriteString(pageContent[i])
screen.WriteString("\033[0K")
screen.WriteString(pageContent[i])
screen.WriteString("\n")
} else {
screen.WriteString("\033[0K")