Commit Graph

11782 Commits

Author SHA1 Message Date
Nicholas Marriott
148cd15de4 Merge branch 'master' into events 2026-07-10 16:38:13 +01:00
Thomas Adam
84cc6541f3 Merge branch 'obsd-master' 2026-07-10 16:30:07 +01:00
nicm
f3c6b4f1a3 Add formats and events for OSC 133 commmands, as well as a -T flag to
set-hook -B to only fire when the format is true.
2026-07-10 15:20:06 +00:00
Nicholas Marriott
7997141d06 Add bits and pieces for command sequences and events. 2026-07-10 16:19:01 +01:00
Nicholas Marriott
458b607255 More tests for events. 2026-07-10 10:56:13 +01:00
Nicholas Marriott
4a5c3fb5d6 Validate hook name before waiting. 2026-07-10 10:41:05 +01:00
Nicholas Marriott
8d2ef7cbf9 Merge branch 'master' into events
# Conflicts:
#	control-notify.c
2026-07-10 10:24:49 +01:00
Nicholas Marriott
fd00ec6386 Do not bind global hooks to a session. 2026-07-10 10:17:41 +01:00
Nicholas Marriott
a074224256 Document all hooks together. 2026-07-10 08:57:55 +01:00
Thomas Adam
ca6dd6ca92 Merge branch 'obsd-master' 2026-07-10 08:30:07 +01:00
nicm
1508bec957 Don't bother to send notifications to clients with CLIENT_EXIT, GitHub
issue 5357 from Ben Maurer.
2026-07-10 07:25:05 +00:00
nicm
bcc73e0db4 Change NOTHING (which means only redraw the indicator) to MOVE. And
redefine NOTHING as /actually/ nothing. Use it for commands which
actually make no change. Fixes flickering due to excessive redrawing of
indicator lines. Mostly from Michael Grant.
2026-07-10 07:13:05 +00:00
Nicholas Marriott
95e5cfbb68 Merge branch 'master' into events 2026-07-09 11:19:54 +01:00
Nicholas Marriott
f22d8dc7e1 Fix some test failures. 2026-07-09 11:19:40 +01:00
Nicholas Marriott
ec31f4566d Tweak test. 2026-07-09 09:39:44 +01:00
Thomas Adam
dfb2a9404f Merge branch 'obsd-master' 2026-07-09 09:30:06 +01:00
Thomas Adam
7ac0d6bead Merge branch 'obsd-master' 2026-07-09 09:00:06 +01:00
Nicholas Marriott
041b6a6bc7 Add test from xiaomublue at gmail dot com. 2026-07-09 08:56:06 +01:00
nicm
3a6c717bb8 Do not exit at bottom if a selection is in progress, GitHub issue 5349
from xiaomublue at gmail dot com.
2026-07-09 07:54:07 +00:00
Thomas Adam
ec74c46d1e Merge branch 'obsd-master' 2026-07-09 08:45:06 +01:00
nicm
161dbaf1ce Cancel pending resizes and resize immediately when entering alternate
screen, fixes flickering with scrollbars. GitHub issue 5351 from Michael
Grant.
2026-07-09 07:35:05 +00:00
nicm
e242da168b Clip the status line and menu against an open popup overlay, GitHub
issue 5350 from Noam Stolero.
2026-07-09 07:32:58 +00:00
nicm
dea309cf8d Allow empty name with new-window again, from Jacob Koziej. 2026-07-09 07:19:24 +00:00
Thomas Adam
ee3944c8fd Merge branch 'obsd-master' 2026-07-09 08:00:06 +01:00
nicm
1fefb80445 Add t/d for time difference in seconds. 2026-07-09 06:33:19 +00:00
Nicholas Marriott
f92cb43ce4 t/d test. 2026-07-08 12:36:19 +01:00
Nicholas Marriott
6d7b811212 Merge branch 'master' into events 2026-07-08 12:28:06 +01:00
Thomas Adam
cd2ca9ec34 Merge branch 'obsd-master' 2026-07-08 12:15:06 +01:00
nicm
e37a2e54ab Fix regsub with anchor at start of pattern, GitHub issue 5341. 2026-07-08 11:04:51 +00:00
Nicholas Marriott
172801a40e Add some more events. 2026-07-08 11:53:45 +01:00
Nicholas Marriott
fcf27f942c Merge branch 'master' into events 2026-07-08 11:29:17 +01:00
nicm
cd956e6da4 Fix . and ; bindings, reported by tb. 2026-07-08 11:29:07 +01:00
Thomas Adam
53f3b05001 Merge branch 'obsd-master' 2026-07-08 10:30:05 +01:00
nicm
8e76565c9c Keep all modes except cursor during redraw, GitHub issue 5337 from Ayman
Bagabas.
2026-07-08 09:23:10 +00:00
Nicholas Marriott
c830710e11 More sub tests. 2026-07-08 09:55:21 +01:00
Thomas Adam
0f354ac4e0 Merge branch 'obsd-master' 2026-07-08 09:30:06 +01:00
Nicholas Marriott
e601bfb362 Theme report test from Ayman Bagabas. 2026-07-08 09:22:55 +01:00
nicm
dac6514147 Report the terminal's own theme to panes rather than guessing from the
background. GitHub issue 5343 from Ayman Bagabas.
2026-07-08 08:21:53 +00:00
nicm
ac723bf2df Do not crash looking for next or previous session. GitHub issue 5344. 2026-07-08 08:15:49 +00:00
Thomas Adam
c8f6b54da7 Merge branch 'obsd-master' 2026-07-08 09:15:06 +01:00
Nicholas Marriott
27c26e88e5 detach-on-destroy next/previous tests. 2026-07-08 09:16:50 +01:00
Nicholas Marriott
e77d9ad043 -k/empty panes tests. 2026-07-08 09:07:48 +01:00
nicm
25060c3fa5 Fix empty argument to splitw/newp and add -k to copy-mode. 2026-07-08 08:07:42 +00:00
nicm
28c2005a2a Fix a typo (use right var), from Dane Jensen. 2026-07-08 07:55:17 +00:00
Nicholas Marriott
9505aae683 Ignore monitor hooks in main cb. 2026-07-07 17:06:50 +01:00
Nicholas Marriott
b4d1765fc7 Missing test. 2026-07-07 16:59:56 +01:00
Thomas Adam
db115c6b97 Merge branch 'obsd-master' 2026-07-07 14:00:06 +01:00
Nicholas Marriott
7e216e8658 Add -E to set-hook to fire an event. 2026-07-07 13:45:14 +01:00
nicm
7b02cb6d03 Fix . and ; bindings, reported by tb. 2026-07-07 12:30:36 +00:00
Nicholas Marriott
4f18c3f303 Merge branch 'master' into events 2026-07-07 13:15:12 +01:00