Commit Graph

  • 512255b9a7 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. nicm 2026-07-10 15:20:06 +00:00
  • 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. nicm 2026-07-10 15:20:06 +00:00
  • ad662d3926 Add a regression test for output queued to exiting control clients. Ben Maurer 2026-07-10 07:46:00 -07:00
  • d29aa12117 Replace the notification system with events. Events can carry a payload of additional payload (to reduce problems with lifetime of objects) and are delivered to one or more event sinks. This is more powerful and reduces the complex dependencies between control mode and hooks. Events are now used for hooks, control mode notifications and for monitors (set-hook -B). nicm 2026-07-10 13:38:45 +00:00
  • ca6dd6ca92 Merge branch 'obsd-master' Thomas Adam 2026-07-10 08:30:07 +01:00
  • 1508bec957 Don't bother to send notifications to clients with CLIENT_EXIT, GitHub issue 5357 from Ben Maurer. nicm 2026-07-10 07:25:05 +00:00
  • 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. nicm 2026-07-10 07:13:05 +00:00
  • ec31f4566d Tweak test. Nicholas Marriott 2026-07-09 09:39:44 +01:00
  • dfb2a9404f Merge branch 'obsd-master' Thomas Adam 2026-07-09 09:30:06 +01:00
  • 7ac0d6bead Merge branch 'obsd-master' Thomas Adam 2026-07-09 09:00:06 +01:00
  • 041b6a6bc7 Add test from xiaomublue at gmail dot com. Nicholas Marriott 2026-07-09 08:56:06 +01:00
  • 3a6c717bb8 Do not exit at bottom if a selection is in progress, GitHub issue 5349 from xiaomublue at gmail dot com. nicm 2026-07-09 07:54:07 +00:00
  • 81e12f5397 Allow empty name with new-window again, from Jacob Koziej. nicm 2026-07-09 07:19:24 +00:00
  • ec74c46d1e Merge branch 'obsd-master' Thomas Adam 2026-07-09 08:45:06 +01:00
  • 161dbaf1ce Cancel pending resizes and resize immediately when entering alternate screen, fixes flickering with scrollbars. GitHub issue 5351 from Michael Grant. nicm 2026-07-09 07:35:05 +00:00
  • e242da168b Clip the status line and menu against an open popup overlay, GitHub issue 5350 from Noam Stolero. nicm 2026-07-09 07:32:58 +00:00
  • dea309cf8d Allow empty name with new-window again, from Jacob Koziej. nicm 2026-07-09 07:19:24 +00:00
  • ee3944c8fd Merge branch 'obsd-master' Thomas Adam 2026-07-09 08:00:06 +01:00
  • 1fefb80445 Add t/d for time difference in seconds. nicm 2026-07-09 06:33:19 +00:00
  • f92cb43ce4 t/d test. Nicholas Marriott 2026-07-08 12:36:19 +01:00
  • 8f3963635b Set initial scrollbar state, from Michael Grant. nicm 2026-07-07 07:47:03 +00:00
  • cd2ca9ec34 Merge branch 'obsd-master' Thomas Adam 2026-07-08 12:15:06 +01:00
  • e37a2e54ab Fix regsub with anchor at start of pattern, GitHub issue 5341. nicm 2026-07-08 11:04:51 +00:00
  • 53f3b05001 Merge branch 'obsd-master' Thomas Adam 2026-07-08 10:30:05 +01:00
  • 8e76565c9c Keep all modes except cursor during redraw, GitHub issue 5337 from Ayman Bagabas. nicm 2026-07-08 09:23:10 +00:00
  • 18d5232804 Fix empty argument to splitw. Nicholas Marriott 2026-07-08 09:57:49 +01:00
  • c515d8cae0 Do not crash looking for next or previous session. GitHub issue 5344. nicm 2026-07-08 08:15:49 +00:00
  • c830710e11 More sub tests. Nicholas Marriott 2026-07-08 09:55:21 +01:00
  • 0f354ac4e0 Merge branch 'obsd-master' Thomas Adam 2026-07-08 09:30:06 +01:00
  • e601bfb362 Theme report test from Ayman Bagabas. Nicholas Marriott 2026-07-08 09:22:32 +01:00
  • dac6514147 Report the terminal's own theme to panes rather than guessing from the background. GitHub issue 5343 from Ayman Bagabas. nicm 2026-07-08 08:21:53 +00:00
  • ac723bf2df Do not crash looking for next or previous session. GitHub issue 5344. nicm 2026-07-08 08:15:49 +00:00
  • c8f6b54da7 Merge branch 'obsd-master' Thomas Adam 2026-07-08 09:15:06 +01:00
  • 27c26e88e5 detach-on-destroy next/previous tests. Nicholas Marriott 2026-07-08 09:16:26 +01:00
  • e77d9ad043 -k/empty panes tests. Nicholas Marriott 2026-07-08 09:07:48 +01:00
  • 25060c3fa5 Fix empty argument to splitw/newp and add -k to copy-mode. nicm 2026-07-08 08:07:42 +00:00
  • 28c2005a2a Fix a typo (use right var), from Dane Jensen. nicm 2026-07-08 07:55:17 +00:00
  • db115c6b97 Merge branch 'obsd-master' Thomas Adam 2026-07-07 14:00:06 +01:00
  • 7b02cb6d03 Fix . and ; bindings, reported by tb. nicm 2026-07-07 12:30:36 +00:00
  • 8beb17df0d Merge branch 'obsd-master' Thomas Adam 2026-07-07 11:00:08 +01:00
  • 76b693aa81 Add C-b g , and C-b g . for move and resize menus, also add to pane menu (and fix to make them work). nicm 2026-07-07 09:45:09 +00:00
  • d53f1b7458 Merge branch 'obsd-master' Thomas Adam 2026-07-07 09:15:06 +01:00
  • 7188391a22 Add a layout_geometry container struct, from Dane Jensen. nicm 2026-07-07 08:07:26 +00:00
  • 869170abd6 Merge branch 'obsd-master' Thomas Adam 2026-07-07 09:00:07 +01:00
  • 1ea574e4ca Set initial scrollbar state, from Michael Grant. nicm 2026-07-07 07:47:03 +00:00
  • af35bcb64f Restore { and } to swap-pane and for floating panes and use a separate key table accessed by g (short for "gove and/or gesize") for floating panes. So "C-b g Up" moves the pane to top-centre, "C-b g M-Up" moves and resizes it. This means we not only do not lose the surprisingly popular { and } bindings, but we can have more than four keys for moving and resizing panes. nicm 2026-07-07 07:43:07 +00:00
  • 55ce48c152 Merge branch 'obsd-master' Thomas Adam 2026-07-06 23:00:06 +01:00
  • ff09914327 Could of minor tidy ups. nicm 2026-07-06 21:44:26 +00:00
  • 3946e24eff Add array test. Nicholas Marriott 2026-07-06 18:13:25 +01:00
  • b07424224b Merge branch 'obsd-master' Thomas Adam 2026-07-06 17:00:06 +01:00
  • d33d5b7de8 When sync is enabled, we need to mark the whole scroll region dirty if there has been any scrolling. GitHub issue 5330. nicm 2026-07-06 15:41:31 +00:00
  • 9180356b13 Merge branch 'obsd-master' Thomas Adam 2026-07-06 16:00:06 +01:00
  • 20ef19b42f Add a key to change an array key in customize mode. nicm 2026-07-06 14:40:57 +00:00
  • 1117caaf09 Change array item keys to be strings instead of numbers which are painful to work with. nicm 2026-07-06 14:29:10 +00:00
  • e6505947ec Merge branch 'obsd-master' Thomas Adam 2026-07-06 13:30:06 +01:00
  • 79b83600af NOJOBS is a flag, use correct argument. nicm 2026-07-06 12:10:18 +00:00
  • 85e3ca5ae2 Check for width/height 0, based on change from Uzair Aftab. nicm 2026-07-06 12:08:52 +00:00
  • e11af53819 Merge branch 'obsd-master' Thomas Adam 2026-07-06 13:00:06 +01:00
  • 0593cbeb84 Merge branch 'obsd-master' Thomas Adam 2026-07-06 12:30:06 +01:00
  • d565fd3b54 Do not create zero size panes, from Uzair Aftab. nicm 2026-07-06 11:28:39 +00:00
  • 699b18414d Do not allow jobs in monitor formats. nicm 2026-07-06 11:17:28 +00:00
  • eb82e8527a Shorten all socket names because macOS is stupid. Nicholas Marriott 2026-07-06 11:50:58 +01:00
  • 069201dd1a Regression test fixes. Nicholas Marriott 2026-07-06 11:22:56 +01:00
  • 37e4b3cdb6 Fix name. Nicholas Marriott 2026-07-06 10:12:24 +01:00
  • 501e8da925 Update some tests and improve Makefile. Nicholas Marriott 2026-07-06 10:00:26 +01:00
  • 6a6822b906 Shorten socket names. Nicholas Marriott 2026-07-06 09:27:17 +01:00
  • e7c1361a10 Merge branch 'obsd-master' Thomas Adam 2026-07-06 09:15:06 +01:00
  • 8237d72900 Unzoom before creating floating pane. Nicholas Marriott 2026-07-06 09:05:05 +01:00
  • 173cc3dfc5 Use message-style as default for message-format again. GitHub issue 5315. nicm 2026-07-02 21:45:36 +00:00
  • 913e503296 Unzoom before creating a floating pane (for now). nicm 2026-07-06 07:57:45 +00:00
  • 2c0f06782d Add alerts test. Nicholas Marriott 2026-07-06 08:47:57 +01:00
  • fcce73af42 Add another test. Nicholas Marriott 2026-07-05 22:14:48 +01:00
  • 2b2963859b Add some hooks tests. Nicholas Marriott 2026-07-05 21:56:52 +01:00
  • 327c05307a Merge branch 'obsd-master' Thomas Adam 2026-07-05 20:00:06 +01:00
  • 3f065cf789 Add a window pane reference count. nicm 2026-07-05 18:37:57 +00:00
  • dc1693d5a1 set-hook -R test. Nicholas Marriott 2026-07-05 18:26:44 +01:00
  • 29b2b7a875 Mouse on by default. Nicholas Marriott 2026-07-05 15:50:54 +01:00
  • 34af038fcc Merge branch 'obsd-master' Thomas Adam 2026-07-05 15:01:36 +01:00
  • d422621eaa Change a couple of regress configs that are incorret and only work because of differences in parse-only. Nicholas Marriott 2026-07-05 14:36:14 +01:00
  • f556e4b6fc Merge branch 'obsd-master' Thomas Adam 2026-07-05 12:00:06 +01:00
  • 2fdcb64a79 Add a define for whether mouse is enabled by default (still off). nicm 2026-07-05 10:49:05 +00:00
  • 468c2942a3 Apply tree mode selection style to the entire line. nicm 2026-07-05 10:28:02 +00:00
  • df56ba95fc Update regress for monitor. Nicholas Marriott 2026-07-05 10:21:44 +01:00
  • bd39ce0d49 Extend tests. Nicholas Marriott 2026-07-05 10:19:58 +01:00
  • 5068e4149a Merge branch 'obsd-master' Thomas Adam 2026-07-05 09:30:06 +01:00
  • de024e04d7 Add set-hook -B install a subscription like in control mode. Subscriptions are formats which are checked once a second and if changed invoke a hook. show-hooks -B lists. nicm 2026-07-05 08:24:00 +00:00
  • 7ff972773a Bump some times. Nicholas Marriott 2026-07-05 09:06:19 +01:00
  • 9634538106 Fix test. Nicholas Marriott 2026-07-05 08:17:32 +01:00
  • 5356c62ead Merge branch 'obsd-master' Thomas Adam 2026-07-04 23:30:06 +01:00
  • 9af9226ff9 Merge branch 'obsd-master' Thomas Adam 2026-07-04 23:15:06 +01:00
  • 92028ed6e2 Add a few more tests. Nicholas Marriott 2026-07-04 23:09:16 +01:00
  • 7a8f8f5a74 Do not use stale pointers in modes. nicm 2026-07-04 22:09:06 +00:00
  • 415885ecb9 Infer the terminal theme from the background colour correctly, if theme reporting is not supported. nicm 2026-07-04 22:06:45 +00:00
  • 7b833d07d9 Merge branch 'obsd-master' Thomas Adam 2026-07-04 21:30:06 +01:00
  • 2f58804717 Add some basic choose mode tests. Nicholas Marriott 2026-07-04 21:18:31 +01:00
  • b05f0abeeb Do not ignore filter when >1 pane. GitHub issue 5326. nicm 2026-07-04 20:17:53 +00:00
  • 2d75f79217 Merge branch 'obsd-master' Thomas Adam 2026-07-04 20:15:06 +01:00
  • 898a91903a Add some missing checks which make new pane positions off, from Dane Jensen. nicm 2026-07-04 18:54:18 +00:00
  • 6e9574c715 Linux arm64 fails. Nicholas Marriott 2026-07-04 19:40:28 +01:00
  • 2efd2d4970 Enable macOS regress. Nicholas Marriott 2026-07-04 19:25:39 +01:00