Final PR #1

Merged
raul merged 9 commits from testing into main 2024-04-14 10:05:00 +02:00
1 changed files with 6 additions and 6 deletions
Showing only changes of commit cec33907b7 - Show all commits

View File

@ -97,12 +97,12 @@ func layout(g *gocui.Gui) error {
textarea.Editable = true
}
if currentUsers, err := g.SetView("currentUsers", maxX/2+42, 1, maxX-6, maxY-6); err != nil {
if err != gocui.ErrUnknownView {
return err
}
currentUsers.Title = "Connected users"
}
// if currentUsers, err := g.SetView("currentUsers", maxX/2+42, 1, maxX-6, maxY-6); err != nil {
// if err != gocui.ErrUnknownView {
// return err
// }
// currentUsers.Title = "Connected users"
// }
return nil
}