diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-17 11:42:34 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-17 11:42:34 -0400 |
commit | 89ffd8653dfec30f66875bde71c997b511e2466c (patch) | |
tree | f83c433e6ffc08c2f99983d42ef0923cd6112820 /widgets/msglist.go | |
parent | 2ffbe7a6cd7882ce50163725104c8d9ea72102a8 (diff) |
Implement ui.empty-message config option
Also removes some options that aren't going to be supported any time
soon.
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r-- | widgets/msglist.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index eeadec7..944bad8 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -89,7 +89,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) { } if len(store.Uids) == 0 { - msg := "(no messages)" + msg := ml.conf.Ui.EmptyMessage ctx.Printf((ctx.Width()/2)-(len(msg)/2), 0, tcell.StyleDefault, "%s", msg) } |