aws / aws/amazon-q-developer-cli

return key not working

Ouverte
#709 1 commentaire 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
2k
Forks
439
Métriques de merge des PR
Aucune PR mergée en 30 j

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"
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier source, test ou étape de reproduction n’est indiqué. Commencez par reproduire le comportement intermittent sur macOS 15.3.1 avec q 1.6.3, puis comparez la gestion de la touche Return du popup de suggestions avant et après le redémarrage de q. Le travail est terminé lorsque Return accepte de manière fiable la suggestion sélectionnée sans nécessiter de redémarrage.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
rust, zsh
Domaine
cli
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.