a-kenji / tui-term

A pseudoterminal widget library for ratatui
MIT License
127 stars 12 forks source link

htop is not rendered correctly #181

Closed kxxt closed 6 months ago

kxxt commented 6 months ago

Hi,

First, thanks for making such an amazing library.

I find that running htop inside the smux example results in an incorrect render:

image

Some of the colorful background lost its color, compared to the result in Konsole:

image

I am not sure if this is a bug of vt100 or tui-term, but I think opening an issue here should be okay.

kxxt commented 6 months ago

I think this is because some cells doesn't have content but they have styles. Currently the implementation skips such cells. I am not sure about this.