Skip to content

feat: eliminate return requirement for -e mode option selection#1374

Merged
sigoden merged 3 commits into
sigoden:mainfrom
renato-umeton:saveOneReturnInEmode
Aug 2, 2025
Merged

feat: eliminate return requirement for -e mode option selection#1374
sigoden merged 3 commits into
sigoden:mainfrom
renato-umeton:saveOneReturnInEmode

Conversation

@renato-umeton

Copy link
Copy Markdown
Contributor
  • Add single-key input utility using crossterm for raw terminal mode
  • Replace inquire::Text prompt with immediate character recognition
  • Support all existing options (e,r,d,c,q) without requiring Enter
  • Maintain backward compatibility with Enter key for default option
  • Add comprehensive tests for new input functionality
  • Preserve existing behavior for all shell execution modes

Fixes #1373

🤖 Generated with Claude Code

renato-umeton and others added 3 commits August 1, 2025 23:46
- Add single-key input utility using crossterm for raw terminal mode
- Replace inquire::Text prompt with immediate character recognition
- Support all existing options (e,r,d,c,q) without requiring Enter
- Maintain backward compatibility with Enter key for default option
- Add comprehensive tests for new input functionality
- Preserve existing behavior for all shell execution modes

Fixes sigoden#1373

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@sigoden sigoden merged commit 1cce990 into sigoden:main Aug 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

when in -e mode, the return can be avoided for the first action

2 participants