mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
selection: pay attention to hard linebreaks when search for word boundaries
Double-clicking on a word in the left or right margin, would line-wrap
the selection if there was a non-empty cell in the corresponding
right/left margin on the prev/next line. Regardless of whether there
was a hard linebreak or not.
Script to reprouce:
!/bin/bash
cols=$(tput cols)
printf "%*coo\nbar\n" $((${cols} - 2)) f
Run, then double click either “foo” or “bar”. Neither should select
the other part.
Closes #565
This commit is contained in:
parent
d5ff8c5f6f
commit
f0041882f1
2 changed files with 20 additions and 4 deletions
|
|
@ -142,6 +142,8 @@
|
|||
(https://codeberg.org/dnkl/foot/issues/547).
|
||||
* Crash when a line wrapping OSC-8 URI crossed the scrollback wrap
|
||||
around (https://codeberg.org/dnkl/foot/issues/552).
|
||||
* Selection incorrectly wrapping rows ending with an explicit newline
|
||||
(https://codeberg.org/dnkl/foot/issues/565).
|
||||
|
||||
|
||||
### Security
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue