Update constants and demagicify RoomView drawing

This commit is contained in:
Tulir Asokan
2018-03-22 18:14:08 +02:00
parent c32fffda15
commit 232f7fe1be
4 changed files with 45 additions and 12 deletions

View File

@ -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{}