Selection regression at trailing empty cells with background
Broken by the big selection rewrite 4005f653 from #34 (closed):
Due to the bce capability, a row can contain trailing "empty" cells that have a custom background color. These are denoted in the ring/stream as NUL characters.
Example: echo -e '\e[46mfoobar\e[K'
, or mc
's top/bottom rows, or mcedit
with any file.
Expected: These cells are skipped when selecting with the mouse or copying to the clipboard.
Actual: These cells are treated as spaces.