alacritty/alacritty

Do not allow selecting unoccupied cells

Ouverte

#3 145 ouverte le 3 janv. 2020

 (23 commentaires) (3 réactions) (0 personne assignée)Rust (3 461 forks)batch import
P - lowS - selectionenhancementhelp wanted

Métriques du dépôt

Stars
 (64 070 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur