diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 21:19:05 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 21:19:05 +0300 |
| commit | 2234198b6f603240ed81f7656449cc6a319de701 (patch) | |
| tree | 2b1f241d403ecda4757064164f1006206a108d6a /internal | |
| parent | b41781c9718e0c38dd3d39559ac84360923ef7e7 (diff) | |
Open tag editor with empty prompt
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/ui/table.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/table.go b/internal/ui/table.go index 5ea744c..affb148 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -510,7 +510,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { if id, err := strconv.Atoi(idStr); err == nil { m.tagsID = id m.tagsEditing = true - m.tagsInput.SetValue(strings.Join(m.tasks[m.tbl.Cursor()].Tags, " ")) + m.tagsInput.SetValue("") m.tagsInput.Focus() m.updateTableHeight() return m, nil @@ -578,7 +578,7 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case 5: m.tagsID = id m.tagsEditing = true - m.tagsInput.SetValue(strings.Join(m.tasks[m.tbl.Cursor()].Tags, " ")) + m.tagsInput.SetValue("") m.tagsInput.Focus() m.updateTableHeight() return m, nil |
