aws / aws/amazon-q-developer-cli
Chat is not showing text colors when rendered output from another tool
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
### 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
```
Contributor guide
Assessment
This issue has not been assessed yet.