Skip to content

Commit

Permalink
request repaint when a message is recieved
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell Huang-Hobbs committed Feb 28, 2022
1 parent e273f59 commit 0ab8a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions standard_renderer.go
Expand Up @@ -397,6 +397,7 @@ func (r *standardRenderer) handleMessages(msg Msg) {
lines := strings.Split(msg.messageBody, "\n")
r.mtx.Lock()
r.queuedMessageLines = append(r.queuedMessageLines, lines...)
r.repaint()
r.mtx.Unlock()
}
}
Expand Down

0 comments on commit 0ab8a0a

Please sign in to comment.