summaryrefslogtreecommitdiff
path: root/internal/ui/table.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-22 14:14:26 +0300
committerPaul Buetow <paul@buetow.org>2026-06-22 14:14:26 +0300
commite03680f7db7e033f7b193dc8880cf1b0bd843bfc (patch)
treeeb79fd3df7ae70b9798fa55ffa2bcedc43245ad7 /internal/ui/table.go
parent6417a632d65486f44eb51b48855eeafb2b03da31 (diff)
Fix async URL browser launch for mq0
Diffstat (limited to 'internal/ui/table.go')
-rw-r--r--internal/ui/table.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go
index 69d1481..e629c20 100644
--- a/internal/ui/table.go
+++ b/internal/ui/table.go
@@ -247,6 +247,11 @@ type shellCompletionMsg struct {
sources task.CompletionSources
}
+type openURLDoneMsg struct {
+ err error
+ taskID int
+}
+
type blinkMsg struct{}
type descriptionTempFile interface {
@@ -609,6 +614,8 @@ func (m *Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m.handleShellDone(msg)
case shellCompletionMsg:
return m.handleShellCompletion(msg)
+ case openURLDoneMsg:
+ return m.handleOpenURLDone(msg)
case blinkMsg:
return m.handleBlinkMsg()
case struct{ clearStatus bool }: