Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

tui3: task proposal countdown swallows keypress and starts declined task on enter

クローズ
#1,547 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
cli

調査の方向性

Start in internal/tui3 and trace the countdown card's raw key event handling into its action dispatcher. Reproduce the proposal in interactive chat, press 2 during the countdown, and verify that it selects and executes the decline choice immediately rather than only pausing the timer; confirm Enter does not start the task afterward.

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

説明

area:chat bug sev:critical
Summary

During the task proposal countdown card, pressing any key pauses the timer but drops the keypress event, leaving selection focus on option 1 ("start it") and causing a subsequent Enter to run the task.

Observed Behavior

When the countdown card appears, typing 2 (decline) freezes the clock but fails to select the decline option. The cursor remains on 1 start it. Hitting Enter immediately starts the paid task worker.

Expected Behavior

Pressing option keys (1, 2, or designated shortcut keys) during the countdown should register the keypress and immediately execute the corresponding choice.

Reproduction Steps
  1. Trigger a task proposal in interactive chat to bring up the countdown card.
  2. While the countdown ticks, press 2 to decline.
  3. Observe that countdown freezes, but selection does not move to 2 decline.
  4. Press Enter. The task starts executing.
Root Cause / Location

TUI key event handling in internal/tui3 consumes the raw event to halt the countdown timer ticker instead of propagating the key to the card's action dispatcher.

—
Drafted with CodeAF · reviewed and owned by the author

主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 37分
マージ済み PR(30日)
755

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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