mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
search: improve viewport movements
* Don't move the viewport if the new match is already fully visible * When we do have to move the viewport, position it such that the new match ends up roughly in the middle.
This commit is contained in:
parent
60984e7a24
commit
8d81dde5b8
2 changed files with 52 additions and 32 deletions
|
|
@ -23,6 +23,12 @@
|
|||
number and without any other separating characters. Thus, _1.4.2_
|
||||
would be reported as `010402` (i.e. the full response would be
|
||||
`\E[>1;010402;0c`).
|
||||
* Scrollback search to only move the viewport if the match lies
|
||||
outside it.
|
||||
* Scrollback search to focus match, that requires a viewport change,
|
||||
roughly in the center of the screen.
|
||||
|
||||
|
||||
### Deprecated
|
||||
### Removed
|
||||
### Fixed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue