alacritty/alacritty_terminal/src/term
Christian Duerr 0965773657
Fix crash when searching during reset
This fixes a crash which occurs when the terminal is reset while
searching, due to the vi mode cursor being outside of the visible area.

This also fixes an issue where the search state reset would incorrectly
clamp the vi mode cursor to the grid, rather than the absolute viewport
position.

While this fix does resolve all crashes when searching while running
`cat /dev/urandom`, it does raise the question if manually clamping the
vi mode cursor in every location where it is modified is the right
choice.

A follow-up to provide a safer API which guarantees correct modification
of the vi mode cursor location is probably a good idea.

Fixes #5942.
2022-03-10 22:45:20 +03:00
..
cell.rs Add support for dashed and dotted underlines 2022-02-14 19:10:13 +03:00
color.rs Update dependencies 2021-02-13 18:15:57 +00:00
mod.rs Fix crash when searching during reset 2022-03-10 22:45:20 +03:00
search.rs Fix fullwidth char regex search infinite loop 2022-01-08 20:24:42 +00:00