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.
ecma48
clears theRaw
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 emptyRaw
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.