Remove unused fields and functions
MODIFY
tview/box.go
tview/box.go
@@ -340,14 +340,6 @@ func (b *Box) IsBorderLeft() bool {
return b.border && b.borderLeft
}
-func maxInt(a, b int) int {
- if a > b {
- return a
- }
-
- return b
-}
-
// SetBorderAttributes sets the border's style attributes. You can combine
// different attributes using bitmask operations:
//

MODIFY
ui/login.go
ui/login.go
@@ -44,7 +44,6 @@ type Login struct {
loginTypePasswordButton *tview.Button
sessionChannel chan *loginAttempt
messageText *tview.TextView
- runNext chan bool
content *tview.Flex
loginChoiceView tview.Primitive

Remove unused fields and functions