Final PR #1
12
cmd/ui.go
12
cmd/ui.go
|
@ -97,12 +97,12 @@ func layout(g *gocui.Gui) error {
|
||||||
textarea.Editable = true
|
textarea.Editable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if currentUsers, err := g.SetView("currentUsers", maxX/2+42, 1, maxX-6, maxY-6); err != nil {
|
// if currentUsers, err := g.SetView("currentUsers", maxX/2+42, 1, maxX-6, maxY-6); err != nil {
|
||||||
if err != gocui.ErrUnknownView {
|
// if err != gocui.ErrUnknownView {
|
||||||
return err
|
// return err
|
||||||
}
|
// }
|
||||||
currentUsers.Title = "Connected users"
|
// currentUsers.Title = "Connected users"
|
||||||
}
|
// }
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue