diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-03-22 18:14:08 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-03-22 18:14:08 +0200 |
commit | 232f7fe1be917bf91f6342946f6d001948b8559e (patch) | |
tree | d80dce99e0f681d8a4fba8a5c62f4116c5d0c7df /ui/types | |
parent | c32fffda15e98dd753fbcfed2d475f04de8669cf (diff) |
Update constants and demagicify RoomView drawing
Diffstat (limited to 'ui/types')
-rw-r--r-- | ui/types/message.go | 2 |
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{} |