aws / aws/amazon-q-developer-cli
return key not working
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
macOS 15.3.1 (24D70)
### Expected behaviour
When the suggestion box pops when while typing commands, I expect it to accept the selected suggestion when I press `return` key on my keyboard.
### Actual behaviour
When I press `return` key on my keyboard on a selected suggestion from the `q` suggestion pop-up box it doesn't work. At start it felt like my `return` key doesn't work. But when I used it on some other app it was working perfectly fine. This issue gets fixed up after running `q restart`. But sometimes it again starts behaving oddly.
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.6.3"
hash = "f46e721e4d1a329bbb2007c5be2b685582c6231f"
date = "2025-02-20T04:18:46.034092Z (12d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.1 (24D70)"
chip = "Apple M2"
total-cores = 8
memory = "8.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/development/flutter/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/Applications/Sublime Text.app/Contents/SharedSupport/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/USER/.local/bin:/opt/gradle/gradle-8.8/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "9f4a3faecce24d0abef6975f6bf0849a"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Contributor guide
Assessment
This issue has not been assessed yet.