matcha
matcha copied to clipboard
BUG: No timeout on external editor process
Describe the bug main.go opens external editor (via $EDITOR) without timeout. If editor hangs or user leaves it open indefinitely, matcha blocks forever.
To reproduce
- Set EDITOR to slow/hanging editor
- Open compose, press ctrl+e
- Editor process has no timeout
- matcha blocks indefinitely
Expected behavior Set reasonable timeout (e.g., 30 minutes) or provide way to cancel.
Additional context
- Good first issue
- Low severity (user controls editor)
- But matcha becomes unresponsive if editor hangs
- tea.ExecProcess might support context cancellation
Suggested fix: Add timeout or cancel mechanism to editor invocation.
OS All platforms
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.