diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-27 17:44:38 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-27 17:44:38 +0200 |
| commit | 0aa83227da57ae67ad9d06f1032cebaaff4e8dfa (patch) | |
| tree | fe87a90e19b1d55500be7fec6b51070ea2ce0793 /internal/client/ui/core/core.go | |
| parent | 6a5131792f45b4494c9db727b1344becb742a488 (diff) | |
Fixed color issue on the server, made the UI have better UX
Diffstat (limited to 'internal/client/ui/core/core.go')
| -rw-r--r-- | internal/client/ui/core/core.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go index fba3ddb..1f86121 100644 --- a/internal/client/ui/core/core.go +++ b/internal/client/ui/core/core.go @@ -144,7 +144,11 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.KeyEnter: if m.networkCreationPopup != nil { - return m, m.networkCreationPopup.Select() + cmd := m.networkCreationPopup.Select() + if cmd != nil { + m.networkCreationPopup = nil + } + return m, cmd } default: |
