Problem with alacritty's handling of selections when the terminal resizes

This commit is contained in:
Mikayla Maki 2022-09-03 20:52:40 -07:00
parent acc1950ab4
commit 68cf91de32
5 changed files with 30 additions and 12 deletions

View file

@ -827,9 +827,9 @@ fn to_highlighted_range_lines(
origin: Vector2F,
) -> Option<(f32, Vec<HighlightedRangeLine>)> {
// Step 1. Normalize the points to be viewport relative.
//When display_offset = 1, here's how the grid is arranged:
//--- Viewport top
// When display_offset = 1, here's how the grid is arranged:
//-2,0 -2,1...
//--- Viewport top
//-1,0 -1,1...
//--------- Terminal Top
// 0,0 0,1...