Skip to content

Commit

Permalink
add quit button to connection selection
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgerojas26 committed Aug 25, 2024
1 parent 6690fe8 commit cfd8452
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/ConnectionSelection.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ func NewConnectionSelection(connectionForm *ConnectionForm, connectionPages *mod
quitButton.SetStyle(tcell.StyleDefault.Background(tview.Styles.PrimitiveBackgroundColor))
quitButton.SetBorder(true)

buttonsWrapper.AddItem(quitButton, 0, 1, false)
buttonsWrapper.AddItem(nil, 1, 0, false)

statusText := tview.NewTextView()
statusText.SetBorderPadding(1, 1, 0, 0)

Expand Down

0 comments on commit cfd8452

Please sign in to comment.