1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/src/term
Christian Duerr ecd9270ffe
Remove selections when clearing screen partially
Automatically remove all selections when part of the screen is cleared.
This fixes issues in applications like `less -S` where a selection would
stay around after scrolling horizontally.

XTerm and URxvt both choose to always remove the selection, even if it's
outside of the cleared area, however VTE only clears the selection if
any part of it is inside the cleared area.

To keep things simple, Alacritty has adopted the behavior of XTerm and
URxvt to always clear selections.

This fixes #1644.
2019-02-08 04:49:44 +00:00
..
cell.rs Add proper underline and strikeout support 2018-12-22 17:16:54 +00:00
color.rs Dynamically resize terminal for errors/warnings 2019-02-07 22:36:45 +00:00
mod.rs Remove selections when clearing screen partially 2019-02-08 04:49:44 +00:00