alacritty/alacritty

Do not allow selecting unoccupied cells

Offen

#3.145 geöffnet am 03.01.2020

 (23 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)Rust (3.461 Forks)batch import
P - lowS - selectionenhancementhelp wanted

Repository-Metriken

Stars
 (64.070 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently in Alacritty, it is possible to select any cell in the terminal, regardless of its occupational status. This is not ideal, because it does not correctly show the user any difference between a whitespace at the end of a line and the end of line itself.

Ideally what we should be doing is either stop the selection at the last cell (which is what Kitty does), or we should extend the selection to the last column as soon as an empty cell is reached (which is what Termite and URxvt seem to do).

I personally think what Kitty does is probably most 'natural' to the user here, since it only selects cells that are actually occupied, but I'm sure there are good arguments for the other option too.

Contributor Guide