From f71ecf2b59417dadd68a14978ad6c95d9699200e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 29 Jun 2025 13:10:05 +0300 Subject: fix: correct field count in task detail view to make description selectable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The getDetailFieldCount() function was returning an incorrect base count of 9, forgetting to include the Project field. This made the description field unselectable in the detail view. Fixed by updating the base count to 10. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- internal/ui/taskdetail.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') diff --git a/internal/ui/taskdetail.go b/internal/ui/taskdetail.go index 0fb8cb4..686ace4 100644 --- a/internal/ui/taskdetail.go +++ b/internal/ui/taskdetail.go @@ -368,8 +368,8 @@ func (m *Model) getDetailFieldCount() int { return 0 } - // Basic fields that are always present: ID, UUID, Status, Priority, Tags, Due, Start, Entry, Description - count := 9 + // Basic fields that are always present: ID, UUID, Status, Priority, Tags, Due, Start, Project, Entry, Description + count := 10 // Add recurrence if present if m.currentTaskDetail.Recur != "" { -- cgit v1.2.3