aws / aws/amazon-q-developer-cli

return key not working

オープン
#709 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Rust
スター
2k
フォーク
439
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

ソースファイル、テスト、再現手順のいずれも指定されていません。まず macOS 15.3.1 で q 1.6.3 を使い、断続的な挙動を再現してから、q の再起動前後で候補ポップアップの Return キー処理を比較してください。Return で選択した候補を再起動なしに確実に確定できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust, zsh
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。