diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-05 11:41:17 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-05 11:41:17 +0000 |
| commit | 0de55182ac6f9f69843aa3bbcaaba0adf896e323 (patch) | |
| tree | 1cfd0e4e35ec669a4ab13ee5794b7af6f1308a6f /debug.c | |
| parent | Merge branch 'scrollback-key-bindings-pass-through-alt-screen' (diff) | |
selection: reset ‘empty_count’ after we’ve emitted the empty cells
When marking and unmarking cells, we don’t highlight trailing empty
cells. We do however highlight empty cells if they are followed by
non-empty cells.
I think this was an intentional choice. If one row ended with trailing
empty cells, but *no* hard linebreak, then we’d continue on the next
row, and emit all the empty cells once we hit a non-emtpy cell on the
second row.
But this is something that shouldn’t happen in any real-world use
cases.
Diffstat (limited to 'debug.c')
0 files changed, 0 insertions, 0 deletions
