Handle C and D on the same line, output ending on the next prompt's
line, and output starting on a prompt line. Keep the output columns
when A resets a line's prompt data, and fall back to the previous
output if the range is empty. Extend the regress test to cover these
and reset the paste buffer before each check.
* refs/remotes/tmux-openbsd/master:
Include menus when working out what parts of a pane are visible to avoid overwriting them, GitHub issue 5593.
Modify display-message -c target-client to use the data relative to target-client, GitHub issue 5613 from Michael Grant.
Quote session_alert in status-format[2], GitHub issue 5671.
Only skip collecting text except for right margin when autowrap is off, from Jang-Ho Hwang.
Change to the new working directory even if getcwd fails, GitHub issue 5658.
* refs/remotes/tmux-openbsd/master:
Sync redraw should use the given rows not the scroll region now.
Instead of redrawing the entire pane or scene when moving or redrawing a pane, add damage rectangles and redraw only the affected spans. From Michael Grant.
Do not leak client if lost before configuration is loaded, and do not load multiple times. GitHub issues 5661 and 5662 from Alexandre Fiori.
Restore the zoom when swap-pane refuses a floating pane, GitHub issue 5660 from Alexandre Fiori.
Do not use client for copy-mode -S if NULL, reported by Martin Vlach.
* refs/remotes/tmux-openbsd/master:
Do not format times that localtime_r and ctime_r cannot convert, from Alexandre Fiori.
Add a maximum repeat size as well as count.
* refs/remotes/tmux-openbsd/master:
Do not try to decode UTF-8 if it is too long to match the pattern.
Do not allocate for repeat inside loop but allocate up front and just copy in the loop.
* refs/remotes/tmux-openbsd/master:
Copy all #s at once when multiple are seen before [ rather than only copying one at a time which can be very slow.
Check time every iteration for expensive repeat loop.
* refs/remotes/tmux-openbsd/master:
Use mode screen for cursor not base which may be wrong during synchronized updates. GitHub issue 5648 from bugreporter23 at gmail dot com.