tui: question dialog drops h/j/k/l keystrokes in custom answer field
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 68/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- cli
調査の方向性
TUIの質問ダイアログにあるカスタム回答入力欄と、オプションリストのキーボード処理から確認してください。issueでは特定のファイルやテストは指定されていません。「Type your own answer」に h、j、k、l を入力し、入力欄が表示されたまま各文字が表示されるか確認して再現します。Enter または Esc を押すまで入力欄が表示されたままで、これらの文字を通常どおり入力できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Summary
In the question tool dialog, typing a custom answer ("Type your own answer") silently drops some letters, and the input prompt sometimes disappears entirely.
Environment
- opencode version: v2.2.6
- OS: Darwin 25.6.0 (darwin arm64)
- Terminal: iTerm.app (TERM=xterm-256color, COLORTERM=truecolor)
- Shell: /bin/zsh
- Install/channel: latest (release)
- Active plugins: none found in opencode.jsonc / .opencode
Reproduction
- Have the agent call the
questiontool with several options. - Select the automatic "Type your own answer" option.
- Type a sentence containing h, j, k or l, e.g. "go ahead the parallel work".
- Keep typing; the input field sometimes vanishes.
Expected Behavior
Every typed character is inserted into the answer field, and the field stays visible until Enter or Esc.
Actual Behavior
Typed "go ahead the parallel work" and got "go aead te parae wor". Every h, l and k was dropped. These are the vim-style navigation keys, so the dialog's list navigation looks like it consumes them while the text field has focus. The text field also sometimes disappears, possibly because j/k moved the selection off the custom option.
Additional Context
- Happens consistently with those letters; the disappearing field is intermittent.
- Custom keybinds in cli.json only use
<leader>-prefixed bindings (session.tab.next/previous/close), so none bind a bare letter. - The keybind docs list no setting for the question dialog's keys.
- Workaround: avoid h/j/k/l, or press Esc and answer in the normal prompt.
- Screenshot to be attached in a comment (gh CLI cannot upload images).
- 主要言語
- TypeScript
- スター
- 225k
- フォーク
- 30.4k
- 平均マージ
- 4時間 7分
- マージ済み PR(30日)
- 554
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
anomalyco/opencode のほかの issue
-
pending close triaging
難易度 1/5 1〜3時間 初心者へのやさしさ 74/100
anomalyco/opencode#63090 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
anomalyco/opencode#62981 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending close triaging
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
anomalyco/opencode#62955 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
reproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
anomalyco/opencode#62893 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Web UI: Uncaught TypeError on iOS < 17.4 (AbortSignal.any is not a function)対応中かも @Paramee-Saejia が 1 日前に担当しました。 オープンreproduced
難易度 2/5 1〜3時間 初心者へのやさしさ 61/100
anomalyco/opencode#62873 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
anomalyco/opencode の issue をすべて見る
似ている issue
-
ai-driven-qa bug claude Cosmetic
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
ai-driven-qa bug claude Minor
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
linagora/twake-mail-admin#609 ·
メンテナーはふだん 1 日以内に返信
-
Add: Tom Sings TV HDオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信