git/dew/main

remove dead EditTask and dedupe the CLI/TUI sort + render logic

open #0007 issues/0007-remove-dead-edittask-and-dedupe-the-cli-tui-sort-r.md opened
refactor

Two bits of cleanup in the same area:

EditTask in actions.go is defined with a doc comment but never called from anywhere — the TUI edits tasks through $EDITOR instead. Delete it or wire it up.

The sort comparator and the due-date colour logic are copy-pasted between main.go's listTasks and tui.go's refreshTasks/View. They've already drifted — the CLI version has no terminal-width truncation — and they have to be kept in sync by hand. Hoist the shared sort/format helpers into one place.