diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-23 09:03:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-23 09:03:08 +0200 |
| commit | bba1879c343ab4dee38bb6547b00a527ff6e96b8 (patch) | |
| tree | 30244f7cfa49f89e472be29a24a2e007615344d2 /internal/ui/keyhandlers.go | |
| parent | b0ab982ba73a2661ebf7a98e83074e6ae2492a25 (diff) | |
Bump version to 0.12.0v0.12.0
Amp-Thread-ID: https://ampcode.com/threads/T-019d197f-3cb2-775c-ba8b-ff16be288021
Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'internal/ui/keyhandlers.go')
| -rw-r--r-- | internal/ui/keyhandlers.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/internal/ui/keyhandlers.go b/internal/ui/keyhandlers.go index 9eedafa..528a8c8 100644 --- a/internal/ui/keyhandlers.go +++ b/internal/ui/keyhandlers.go @@ -229,6 +229,14 @@ func (m *Model) handleOpenURL() (tea.Model, tea.Cmd) { url := urlRegex.FindString(task.Description) if url == "" { + for _, ann := range task.Annotations { + url = urlRegex.FindString(ann.Description) + if url != "" { + break + } + } + } + if url == "" { return m, nil } |
