diff options
author | ahkrr | 2021-06-06 19:32:14 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-07 00:15:08 +0000 |
commit | e2d780f993201a79261bc6bd869c8b4f1dc410ce (patch) | |
tree | 1c301dda35dc5148ba4e41dffab9499d8ea047e6 /contrib | |
parent | 843c2cdebd50cfe066c88571eb754c465cda2f60 (diff) |
fix: 2 panics while setting style + off by 1
The panics would occur because set_style
would draw outside of the the surface.
Both occured using `find_prev` or `till_prev`
In my case the first panic! would appear
in a terminal with around 80 columns
in helix/README.md going to the end of the file
with `geglf(`
the second with `geglfX`
The off by one fix ensures that `find_nth_prev`
starts at the first character to the left
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions