diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-09-01 13:01:54 +0200 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-09-01 13:01:54 +0200 |
commit | 526eb96db874951a8ad6f66e300ac8e7e5b809b9 (patch) | |
tree | b73c2a8f37bf0144284213e772fdf377096ee662 /config.go | |
parent | Fetch missed messages on reconnect (diff) |
Channel list is horizontal by default
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,8 +91,8 @@ func ParseConfig(buf []byte) (cfg Config, err error) { if cfg.NickColWidth <= 0 { cfg.NickColWidth = 16 } - if cfg.ChanColWidth <= 0 { - cfg.ChanColWidth = 16 + if cfg.ChanColWidth < 0 { + cfg.ChanColWidth = 0 } if cfg.MemberColWidth <= 0 { cfg.MemberColWidth = 16 |