Michael Grant
833d3dc0fa
Add comments explaining the OSC 133 output range search.
2026-10-07 15:15:25 +02:00
Michael Grant
1f892a3f71
Do not reset the command column when a prompt starts.
2026-10-07 15:15:25 +02:00
Michael Grant
a0d067fdfe
Comment fix.
2026-10-07 15:15:25 +02:00
Michael Grant
0fffcbda3d
Move the OSC 133 output range search into grid-reader.c.
2026-10-07 15:15:25 +02:00
Michael Grant
18c4c9c702
For the *-output commands like select-output, if cmd had no output like "true" then select an empty string.
2026-10-07 15:15:25 +02:00
Michael Grant
ef6a76b485
Tidy OSC 133 output code after review.
2026-10-07 15:15:25 +02:00
Michael Grant
3959fc4d82
Wrap long lines and limit empty-line reflow consumption to OSC 133 lines.
...
Only consume an empty, unwrapped continuation line in grid_reflow_join
when it carries OSC 133 markers, so reflow of lines without markers is
unchanged. Also wrap lines over 80 columns and restore the original
PANE_REDRAW condition in window_copy_copy_buffer.
2026-10-07 15:15:25 +02:00
Michael Grant
02f09554c9
Fix wrapped output selections and recognize single-character vi selections.
2026-10-07 15:15:25 +02:00
Michael Grant
36c6630951
Fix OSC 133 output ranges after history loss and trim vi selection endpoints.
2026-10-07 15:15:25 +02:00
Michael Grant
abaf664915
Add regressions for OSC 133 reflow and history loss.
2026-10-07 15:15:25 +02:00
Michael Grant
e14d49749f
When the line containing the OSC 133 'A' marker has been discarded from history, scan retained output markers up to the next prompt. Copying and selection work from inside or after the output.
2026-10-07 15:15:25 +02:00
Michael Grant
b19a330cd3
Fix OSC 133 output ranges after resize and cursor movement.
2026-10-07 15:15:25 +02:00
Michael Grant
fc84bb8088
Add regression test for editor.
2026-10-07 15:15:25 +02:00
Michael Grant
7d65cc2a75
Cleanup.
2026-10-07 15:15:25 +02:00
Michael Grant
65a5865ae6
Fix OSC 133 output range lookup for markers sharing a line
...
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.
2026-10-07 15:15:25 +02:00
Michael Grant
abf870537c
Add pipe-selection copy mode command
2026-10-07 15:15:25 +02:00
Michael Grant
18932d06cf
Add OSC 133 copy mode output commands
2026-10-07 15:15:25 +02:00
Michael Grant
d070721f4f
Allow callers to override editor command
2026-10-07 15:15:25 +02:00
Nicholas Marriott
5512949947
Test for 5696.
2026-10-07 14:14:02 +01:00
Nicholas Marriott
052c54fb49
Test for 5399.
2026-10-07 14:01:09 +01:00
Nicholas Marriott
b04055d577
Test for join-pane with modal floating pane.
2026-10-07 13:03:16 +01:00
Nicholas Marriott
6c30e1bc03
Make terminal bigger so test works on macOS.
2026-10-07 11:18:24 +01:00
Nicholas Marriott
a8158b2443
Fix test on macOS and add new test for tty.
2026-10-07 11:02:08 +01:00
Nicholas Marriott
f5c8e5acbd
Fix tests.
2026-10-07 10:45:25 +01:00
tmux update bot
64ffd431de
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix tty_clamp_area with status lines at the top and a smaller client, GitHub issue 5697 from Yasuhiro Inami.
2026-10-07 09:35:09 +00:00
nicm
37b1631e57
Fix tty_clamp_area with status lines at the top and a smaller client,
...
GitHub issue 5697 from Yasuhiro Inami.
2026-10-07 09:35:07 +00:00
Nicholas Marriott
3e22d43c66
Fix tests.
2026-10-07 10:16:50 +01:00
Nicholas Marriott
2d7bca72e7
Fix tests.
2026-10-07 09:42:00 +01:00
Nicholas Marriott
7b4d4074cf
Fix tests.
2026-10-07 09:08:33 +01:00
Nicholas Marriott
3b20a0418a
Fix tests.
2026-10-07 08:06:16 +01:00
Nicholas Marriott
20555f1508
Fix tests.
2026-10-07 07:29:44 +01:00
Nicholas Marriott
209d389a81
Fix test again.
2026-10-07 06:46:25 +01:00
Nicholas Marriott
4775bc95e1
Fix tests on macOS.
2026-10-07 06:35:49 +01:00
Nicholas Marriott
aa52838c84
Don't use so many ptys.
2026-10-07 06:28:47 +01:00
Nicholas Marriott
da1ba778e4
Increase pty limit on macOS.
2026-10-07 06:08:35 +01:00
tmux update bot
a7a3b4b3a8
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Parse terminal replies with keys and apply them only when finished, so that a preceding Escape can be handled correctly. GitHub issue 5676 from Joan Fabrégat.
Use the .Cm macro for keywords used as arguments to commands and options, mostly replacing dubious use of .Ic, but a few others as well; nicm@ agrees with the general direction.
2026-10-06 21:00:17 +00:00
nicm
61581458a4
Parse terminal replies with keys and apply them only when finished, so
...
that a preceding Escape can be handled correctly. GitHub issue 5676 from
Joan Fabrégat.
2026-10-06 21:00:15 +00:00
schwarze
198196e53e
Use the .Cm macro for keywords used as arguments to commands and options,
...
mostly replacing dubious use of .Ic, but a few others as well;
nicm@ agrees with the general direction.
2026-10-06 21:00:15 +00:00
Nicholas Marriott
059df9643c
Tests for 5675.
2026-10-06 18:50:37 +01:00
tmux update bot
81dc40dedf
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Add table for destroy-unattached.
Do not allow drags started on status line to trigger pane key bindings, GitHub issue 5692.
2026-10-06 16:10:29 +00:00
nicm
e21f5e2d63
Add table for destroy-unattached.
2026-10-06 16:10:27 +00:00
nicm
b4f7b85e86
Do not allow drags started on status line to trigger pane key bindings,
...
GitHub issue 5692.
2026-10-06 16:10:27 +00:00
Nicholas Marriott
068812380f
Test for drag on status line.
2026-10-06 12:28:40 +01:00
tmux update bot
0e59d2c035
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix redraw and selection position when changing selection mode.
2026-10-06 11:24:38 +00:00
nicm
50160131a8
Fix redraw and selection position when changing selection mode.
2026-10-06 11:24:37 +00:00
tmux update bot
f22e1d95b2
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Improve text about status lines, GitHub issue 5677.
Redraw selections after scrolling to line boundaries, GitHub issue 5689 from bugreporter23 at gmail dot com.
2026-10-06 09:16:23 +00:00
nicm
d6237b5b87
Improve text about status lines, GitHub issue 5677.
2026-10-06 09:16:21 +00:00
nicm
a1d25b2816
Redraw selections after scrolling to line boundaries, GitHub issue 5689
...
from bugreporter23 at gmail dot com.
2026-10-06 09:16:21 +00:00
Nicholas Marriott
c067a0b1bf
Tests for selection mode and redraw.
2026-10-06 09:26:29 +01:00
tmux update bot
d1fedcc9a0
Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
...
* refs/remotes/tmux-openbsd/master:
Fix mouse drag selection on the top and bottom lines in vi mode, GitHub issue 5667 from David Schweikert.
2026-10-05 22:02:42 +00:00