Removed currentUsers view
Go audit / audit (pull_request) Successful in 1m14s Details

I cannot handle this codebase anymore
This commit is contained in:
raul 2024-04-14 09:48:21 +02:00
parent c85fa5b031
commit cec33907b7
1 changed files with 6 additions and 6 deletions

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
}