aboutsummaryrefslogtreecommitdiff
path: root/ui/types
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-22 18:14:08 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-22 18:14:08 +0200
commit232f7fe1be917bf91f6342946f6d001948b8559e (patch)
treed80dce99e0f681d8a4fba8a5c62f4116c5d0c7df /ui/types
parentc32fffda15e98dd753fbcfed2d475f04de8669cf (diff)
Update constants and demagicify RoomView drawing
Diffstat (limited to 'ui/types')
-rw-r--r--ui/types/message.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/types/message.go b/ui/types/message.go
index 7b96193..6775597 100644
--- a/ui/types/message.go
+++ b/ui/types/message.go
@@ -61,7 +61,7 @@ func (message *Message) CopyTo(to *Message) {
}
func (message *Message) CalculateBuffer(width int) {
- if width < 1 {
+ if width < 2 {
return
}
message.Buffer = []string{}