Commit d676efa
committed
Bugfix: hide Brief cursor while column widths load
Entering a new dir cleared `columnWidths`, so for one frame every column rendered at the `capPx` fallback (≈ full pane width), making the cursor stripe momentarily fill the entire pane.
- Gate `is-under-cursor` on `columnWidths.length > 0` so no cursor stripe renders at the fallback width.
- Skip the 50 ms coalesce on the first fetch (empty `columnWidths`) so the cursor-hidden gap is as short as possible; subsequent re-fetches still coalesce.1 parent 5025b39 commit d676efa
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
361 | 368 | | |
362 | 369 | | |
363 | 370 | | |
| |||
787 | 794 | | |
788 | 795 | | |
789 | 796 | | |
790 | | - | |
| 797 | + | |
791 | 798 | | |
792 | 799 | | |
793 | 800 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
0 commit comments