summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-09-01 13:01:54 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-09-01 13:01:54 +0200
commit526eb96db874951a8ad6f66e300ac8e7e5b809b9 (patch)
treeb73c2a8f37bf0144284213e772fdf377096ee662 /config.go
parentFetch missed messages on reconnect (diff)
Channel list is horizontal by default
Diffstat (limited to 'config.go')
-rw-r--r--config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.go b/config.go
index a2f70b9..9186590 100644
--- a/config.go
+++ b/config.go
@@ -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