aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 46 forks source link

fix coloring in bash :tada: #94

Closed aaronjanse closed 3 years ago

aaronjanse commented 3 years ago

ecma48 clears the Raw data buffer when it emits an event. Bash sets multiple styles/colors in the same commend. So, the 2nd+ events emitted for these multi-style sequences had an empty Raw data list, causing them to be ignored by vterm.

I think the original reason for skipping events with empty Raw data was for a bug that was fixed by rewriting the ecma48 parser.