Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#1,547 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
74/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 37 min
PR fusionados (30 d)
755

Preparar el entorno

Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.