Removed currentUsers view
Go audit / audit (pull_request) Successful in 1m14s
Details
Go audit / audit (pull_request) Successful in 1m14s
Details
I cannot handle this codebase anymore
This commit is contained in:
parent
c85fa5b031
commit
cec33907b7
12
cmd/ui.go
12
cmd/ui.go
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue