aws / aws/amazon-q-developer-cli
Chat is not showing text colors when rendered output from another tool
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
OSX + Linux
### Expected behaviour
I have been experimenting with getting the CLI to show Markdown output with the [glow](https://github.com/charmbracelet/glow) tool to better view tables etc. in the terminal.
Expected output:

### Actual behaviour
This works, for example tables render nicely, but it looks like other styling like colors, bolding and so on are getting lost when passed through Q CLI.

If I use `!` to run the same command from within Q CLI chat it renders correctly.
### Steps to reproduce
Install glow CLI.
Test prompt:
```
Pipe the contents of test.md through the glow CLI.
```
Test Markdown:
```
# Test Markdown File
## Introduction
This is a *test* markdown file for demo.
## Table
| Col 1 | Col 2 | Col 3 |
|-------|-----------|-------|
| Test | Something | Here |
| Test | Something | Here |
| Test | Something | Here |
```
### Environment
```yaml
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il problema su OSX o Linux passando test.md attraverso la CLI glow da un prompt di chat Q, quindi confrontalo con l'esecuzione dello stesso comando tramite !. Verifica se vengono mantenuti i colori, il testo in grassetto e gli altri stili del terminale; l'attività è completata quando l'output renderizzato conserva lo stile mostrato nel risultato previsto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100