progress bars are always displayed, also on TERM=dumb
- Lenguaje dominante
- Rust
- Estrellas
- 600
- Forks
- 59
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
This leads to lots of noise in logs files in my tools, since I am running some progress bars on kubernetes clusters.
It would be great if ProgressBar would output either nothing or a line-by-line progress report (without using `\r`) when it cannot detect a terminal.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Look for terminal detection logic in the library, likely in a module handling TTY checks or environment variables like TERM. The issue is about suppressing or changing progress bar output when TERM=dumb. Find where the progress bar decides to use carriage returns (\r) for updates. Test by running a simple example with TERM=dumb set and see the current noisy output. The fix involves checking the TERM environment variable and either outputting line-by-line progress or nothing.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100