summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.go b/app.go
index 73fe90a..af2ca2e 100644
--- a/app.go
+++ b/app.go
@@ -23,7 +23,9 @@ type App struct {
func NewApp(cfg Config) (app *App, err error) {
app = &App{}
- app.win, err = ui.New()
+ app.win, err = ui.New(ui.Config{
+ NickColWidth: cfg.NickColWidth,
+ })
if err != nil {
return
}