Fix triple-click line selection not extending wrapped lines beyond viewport bottom

Similar to commit 625e984 which fixed extending into scrollback (above viewport),
this fix extends line selection below the viewport when a wrapped line continues
past the bottom edge. Adds continue_line_downwards_offscreen() and applies it
in both the initial selection and extending selection code paths.

Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/e548ce84-fdb7-4fd1-b3df-e1166b45f5bd

Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-07 09:31:17 +00:00
committed by GitHub
parent 114cd5cbc4
commit 82bf8923cc
3 changed files with 60 additions and 0 deletions

View File

@@ -217,6 +217,8 @@ Detailed list of changes
- Fix dragging of splits layout borders sometimes moving in the wrong direction or having no effect (:pull:`9447`)
- Fix triple-click line selection not extending wrapped lines beyond the bottom edge of the viewport
- Password input in kittens: hide the cursor and display a blinking 🔒 at the end of typed characters to make it visually clear the user is entering a password
- edit-in-kitty: Ignore environment variables as some editors execute code present in env vars