mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
selection: line-wise selection now handles soft line-wrapping
Previously, soft-wrapped lines were not selected correctly, as the selection logic was hardcoded to simply select everything between the first and last column on the current terminal row. Now, we scan backward and forward, looking for hard-wrapped lines. This is similar to how word-based selection works. Closes #726
This commit is contained in:
parent
df8aea6cb6
commit
548d7be4c6
2 changed files with 86 additions and 17 deletions
|
|
@ -68,6 +68,8 @@
|
|||
* Added workaround for GNOME bug where multiple button press events
|
||||
(for the same button) is sent to the CSDs without any release or
|
||||
leave events in between (https://codeberg.org/dnkl/foot/issues/709).
|
||||
* Line-wise selection not taking soft line-wrapping into account
|
||||
(https://codeberg.org/dnkl/foot/issues/726).
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue