Input field background renders black with near-invisible text (low contrast) mid-session
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
Describe the bug
Mid-session, only the command input field's background turned black, making typed text nearly invisible against it. The rest of the terminal/session output rendered normally and was unaffected. A standard terminal reset did not fix it, indicating the issue is in the CLI's own TUI rendering rather than a terminal-level escape sequence leak.
Affected version
Copilot CLI version: 1.0.81
Steps to reproduce the behavior
- Run copilot inside a tmux session (TERM=tmux-256color).
- Use the CLI normally for a while (no manual /theme change).
- Observe the input field's background suddenly turns black with low-contrast/invisible text, while surrounding output text stays normal.
- Run reset in the terminal — input field remains black.
Expected behavior
Input field should maintain consistent theme-appropriate contrast for the whole session.
Additional context
Suspected cause: Theme/color-mode detection or caching bug specific to tmux ( TERM=tmux-256color ), possibly triggered by a state change during the session (resize, mode switch, subagent/tool output, etc.).
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza reproduciendo el problema en copilot dentro de tmux con TERM=tmux-256color; después, observa el comportamiento de theme o color-mode durante los posibles cambios de sesión indicados. Sigue el estado de renderizado de CLI TUI cuando solo el campo de entrada se vuelve negro y verifica que el campo mantenga un contraste adecuado para el theme durante toda la sesión y después de ejecutar reset.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 52/100