-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Description
Project
vgrep
Description
In the TUI (Terminal User Interface), pressing Enter on a selected search result doesn't actually open the file in an editor. Instead, it just sets a status message with the file path. This is misleading UX as users expect Enter to open the file.
Error Message
None - just doesn't work as expected.Debug Logs
System Information
- Bounty Version: 0.1.0
- OS: Ubuntu 24.04 LTS
- Rust: 1.75+Screenshots
No response
Steps to Reproduce
- Start TUI:
vgrep tui - Enter a search query
- Press Tab to switch to results
- Press Enter on a result
- Expected: File opens in editor
- Actual: Status message shows "Selected: /path/to/file"
Expected Behavior
- Enter key should open the file in the default editor
- Optionally jump to the specific line number (
result.start_line) - Use
$EDITORenvironment variable or fall back to common editors
Actual Behavior
- Enter key only updates status message
- User must manually copy the path and open the file
- Defeats the purpose of a TUI search interface
Additional Context
No response