Commit Graph

  • 8c55a388cd Add nicer dark and light colour sets (themes) used on terminals with 256 or more colours. Currently based these on emacs but they could change. Terminals with fewer colours use the ANSI colours. A new "theme" option overrides the detected theme (set to "terminal" to go back to ANSI colours). nicm 2026-06-25 23:17:25 +00:00
  • d176f1f89c Merge branch 'obsd-master' layouts Thomas Adam 2026-06-25 18:30:06 +01:00
  • 2d0845860a Fix scrollbar with a format colour. nicm 2026-06-25 17:17:25 +00:00
  • 5ae701aab5 Merge branch 'obsd-master' Thomas Adam 2026-06-25 18:00:06 +01:00
  • 0d016195ac Expand colours as formats like styles. nicm 2026-06-25 16:32:42 +00:00
  • fc2de240d2 Merge branch 'obsd-master' Thomas Adam 2026-06-25 15:30:06 +01:00
  • 7c1ef6a387 Format variable for client colours. nicm 2026-06-25 14:27:58 +00:00
  • 0b538b6f2a Merge branch 'obsd-master' Thomas Adam 2026-06-25 13:29:53 +01:00
  • 3d26aa0dfb Prompt regress (will not pass yet). Your Name 2026-06-25 12:40:49 +01:00
  • 51d037e881 Major rework of prompts. The basic prompt mechanics (draw, editing, etc) are now wrapped up in prompt*.c and do not depend on a client. These functions are used to provide the original client prompt but also to allow panes to have their own prompts, which works much much better for floating panes. The mode prompts for both the tree modes and copy mode are switched over to be per pane. nicm 2026-06-25 11:39:11 +00:00
  • e5fb88fb85 Merge pull request #5273 from daneofmanythings/floating-geometry-regression-test Nicholas Marriott 2026-06-25 10:23:01 +01:00
  • 787234eff4 Merge branch 'obsd-master' Thomas Adam 2026-06-24 23:00:06 +01:00
  • 6b1219b370 Ignore mouse when help is open. nicm 2026-06-24 21:47:06 +00:00
  • ed48555bdd Merge branch 'obsd-master' Thomas Adam 2026-06-24 22:30:06 +01:00
  • ba9faae8b6 Free modes rather than going through reset when pane is destroyed as the reset path may try to destroy the pane again. nicm 2026-06-24 21:10:05 +00:00
  • 6935dee976 Added regression test for floating pane geometry and how it interacts with pane borders. Dane Jensen 2026-06-22 22:29:09 -07:00
  • 12473bb6d3 Merge branch 'obsd-master' Thomas Adam 2026-06-24 12:15:06 +01:00
  • 280a962328 Replace two-value prompt_mode enum with a flag. nicm 2026-06-24 11:05:58 +00:00
  • 37633ff957 Add some enums for prompt return values to make them a bit less confusing. nicm 2026-06-24 10:55:39 +00:00
  • 1c2fc8c3c4 Merge branch 'obsd-master' Thomas Adam 2026-06-24 10:15:06 +01:00
  • d3adecd819 Merge branch 'obsd-master' Thomas Adam 2026-06-24 10:00:06 +01:00
  • 0a71af41be Handle different borders in move-pane, from Dane Jensen. nicm 2026-06-24 08:52:15 +00:00
  • 8fb484da37 Remove target completion which never worked very well, leave only command completion. nicm 2026-06-24 08:35:46 +00:00
  • 6e6a434a2d Remove no longer needed test bits. Nicholas Marriott 2026-06-24 09:24:18 +01:00
  • f23ea9e977 Merge branch 'obsd-master' Thomas Adam 2026-06-24 01:15:06 +01:00
  • 55cfdbaa3f Remove fuzzy match operator again for now, this will be done differently. nicm 2026-06-23 23:53:06 +00:00
  • 1b5a07a740 Rename prompt-input to match the usual format names. nicm 2026-06-23 23:52:39 +00:00
  • 00b0af7021 Merge branch 'obsd-master' Thomas Adam 2026-06-23 22:15:06 +01:00
  • 89027bd22c Fix MOVE flag handling and remove key code (not actually needed). nicm 2026-06-23 21:00:20 +00:00
  • ff8de1a106 Merge branch 'obsd-master' Thomas Adam 2026-06-23 22:00:05 +01:00
  • 0c5e6770df Turn off preview if no draw callback and add a function to move to top. nicm 2026-06-23 20:30:10 +00:00
  • c2ad33a04c Merge branch 'obsd-master' Thomas Adam 2026-06-23 21:15:06 +01:00
  • c0a5e10313 Use flags for input callback instead of a single int done so the callback can be told about cursor movement in an incremental prompt. nicm 2026-06-23 20:07:58 +00:00
  • 1c394b8606 Tweak the test. Nicholas Marriott 2026-06-23 20:31:42 +01:00
  • 505d557fbb Fix SIXEL, from Marc Haesen. Nicholas Marriott 2026-06-23 15:47:11 +01:00
  • a63e429d22 Merge branch 'obsd-master' Thomas Adam 2026-06-23 13:00:09 +01:00
  • de086f9848 Fix an infinite loop in customize mode when a filter does not match, and tweak a tmux.1 example. nicm 2026-06-23 11:29:27 +00:00
  • 6643acb375 Merge branch 'obsd-master' Thomas Adam 2026-06-23 11:00:09 +01:00
  • c25cb107bb Merge branch 'obsd-master' Thomas Adam 2026-06-23 10:30:05 +01:00
  • 9dba08ac8b Allow -p more than 100%, and account for borders when sizing new panes. From Dane Jensen. nicm 2026-06-23 09:29:26 +00:00
  • 3ec115115d Do not leak error message, use it instead. From Dane Jensen. nicm 2026-06-23 09:13:30 +00:00
  • 09c91b8931 Merge branch 'obsd-master' Thomas Adam 2026-06-23 10:00:05 +01:00
  • de1940065a Update test. Nicholas Marriott 2026-06-23 10:01:01 +01:00
  • 748ef8b2ae Extend match to do multiple terms. nicm 2026-06-23 08:35:28 +00:00
  • 2ecf0a9053 Merge branch 'obsd-master' Thomas Adam 2026-06-23 09:30:05 +01:00
  • b82048eb18 Add c key to clear filter. nicm 2026-06-23 08:20:15 +00:00
  • 9d58ff97fe Update format test. Nicholas Marriott 2026-06-23 09:14:13 +01:00
  • 51b787e449 Fix SIXEL build. Nicholas Marriott 2026-06-23 09:05:44 +01:00
  • 7654b518f1 Add to .gitignore. Nicholas Marriott 2026-06-23 08:36:07 +01:00
  • e7f414416f Set check callback for menus so they aren't overwritten by sync. nicm 2026-06-22 10:17:08 +00:00
  • 52877c9af1 Merge branch 'obsd-master' Thomas Adam 2026-06-23 07:35:51 +01:00
  • 265f22be49 Make cursor movement exit incremental prompt (more like emacs). nicm 2026-06-22 19:43:22 +00:00
  • 2a26c738bd Add z modifier to m operator for fuzzy match. nicm 2026-06-22 19:39:01 +00:00
  • 6ec0afe5f7 Merge branch 'master' into floating_panes Dane Jensen 2026-06-22 11:32:30 -07:00
  • 02b37b3c69 Fix scrollbar pad to work even if not set in style. nicm 2026-06-22 13:57:33 +00:00
  • d8370864f3 Memory leak from someone in GitHub issue 5259. nicm 2026-06-22 12:39:56 +00:00
  • ffe48f00e3 Tests for screen-redraw.c (not all passing right now). Nicholas Marriott 2026-06-22 12:09:44 +01:00
  • 49dff83a00 Set check callback for menus so they aren't overwritten by sync. nicm 2026-06-22 10:17:08 +00:00
  • 95afd7549c Rewrite screen-redraw.c to make it tidier and more maintainable. A scene is generated and cached in the client: it holds positions and sizes of panes, borders and so on. The scene is invalidated when a pane is moved or resized or relevant option is changed. This scene is then drawn to the client as needed and text and colours are filled in. With Michael Grant. nicm 2026-06-22 08:47:45 +00:00
  • 06ee890db3 Merge branch 'obsd-master' Thomas Adam 2026-06-22 09:30:06 +01:00
  • e680420c89 Place floating cells meaningfully into the layouts, from Dane Jensen. nicm 2026-06-22 08:10:16 +00:00
  • 41e731fc51 Fixed keybind for toggling between floating and tiled. Dane Jensen 2026-06-21 13:16:34 -07:00
  • 19c8da04d0 Merge branch 'master' into floating_panes Dane Jensen 2026-06-21 13:12:34 -07:00
  • 357ee692bd Merge branch 'obsd-master' Thomas Adam 2026-06-21 19:00:05 +01:00
  • 347baa6f3e Do not walk off end or beginning of menu item list if every item is disabled, GitHub issue 5255 from aizumusheer2 at gmail dot com. nicm 2026-06-21 17:43:47 +00:00
  • 8925000c42 Removed cmd-tile-float-pane.c after moving functionality into cmd-break-pane.c and cmd-join-pane.c Dane Jensen 2026-06-20 12:35:36 -07:00
  • 568c99be4e Removed cmd-tile-float-pane.c. Dane Jensen 2026-06-20 12:32:35 -07:00
  • 69fc42afc9 Floating and tiling functionality moved into break-pane and join-pane Dane Jensen 2026-06-20 12:28:04 -07:00
  • 19843cd826 bugfix Dane Jensen 2026-06-20 12:22:08 -07:00
  • 4eb96fc144 Merge branch 'master' into floating_panes Dane Jensen 2026-06-20 12:12:51 -07:00
  • cc922de758 Merge branch 'obsd-master' Thomas Adam 2026-06-20 10:15:05 +01:00
  • dbca906ef5 Merge branch 'obsd-master' Thomas Adam 2026-06-20 10:00:05 +01:00
  • 1fc4dcb76f Error if key is unknown rather than just carry on, GitHub issue 5248. nicm 2026-06-20 08:51:28 +00:00
  • dcd7d1c8e6 Fix {} keys in tmux.1, pointed out by tb. nicm 2026-06-20 08:46:08 +00:00
  • 72e768ef14 Merge branch 'obsd-master' Thomas Adam 2026-06-19 20:00:06 +01:00
  • 047f61aad6 popup_write can be deleted now also. nicm 2026-06-19 18:41:36 +00:00
  • d04b1ffca5 Use a floating pane for the buffer mode editor instead of a popup. nicm 2026-06-19 18:37:10 +00:00
  • 3d396f13ed A few fixes. Dane Jensen 2026-06-17 15:10:27 -07:00
  • 7d8401d707 formatting fix. Dane Jensen 2026-06-15 21:52:20 -07:00
  • c3aac57dda Updated documentation. Dane Jensen 2026-06-15 21:50:49 -07:00
  • 5602571c01 Moved functionality to float and tile panes into break-pane and join-pane. Dane Jensen 2026-06-15 21:17:10 -07:00
  • c04236052c Merge branch 'master' into floating_panes Dane Jensen 2026-06-19 11:31:46 -07:00
  • c93e2f2332 Do not loop forever if a pane ends up with borders the wrong way round. nicm 2026-06-19 18:28:18 +00:00
  • e7c29d0ceb Merge branch 'obsd-master' Thomas Adam 2026-06-19 19:00:05 +01:00
  • 6c46358be8 Draw help directly instead of using a popup. nicm 2026-06-19 17:37:26 +00:00
  • b0ff8af9ac Merge branch 'obsd-master' Thomas Adam 2026-06-19 17:30:05 +01:00
  • 624db256c6 Add a loop_index variable and use it to show last used 5 sessions on the session menu instead of next/previous. nicm 2026-06-19 16:25:43 +00:00
  • cfb15d158e Merge branch 'obsd-master' Thomas Adam 2026-06-19 17:15:05 +01:00
  • 34c7881ddd Merge branch 'obsd-master' Thomas Adam 2026-06-19 17:00:05 +01:00
  • f06d930445 Correctly report theme changes to panes, based on a fix from someone in GitHub issue 5246. nicm 2026-06-19 16:00:03 +00:00
  • b29f5688bd Make default M-C-Up/Down bound to prompt movement commands in copy mode. nicm 2026-06-19 15:28:26 +00:00
  • 333e2f266a Merge branch 'obsd-master' Thomas Adam 2026-06-19 12:00:07 +01:00
  • af94399473 Add some more bits to test. Nicholas Marriott 2026-06-19 11:50:29 +01:00
  • 3d35f26031 Add a test for tty_draw_line. Nicholas Marriott 2026-06-19 11:35:19 +01:00
  • b1c72ec48c Use a helper and skip some setup for empty cells. nicm 2026-06-19 10:38:29 +00:00
  • 8dee34459b Merge branch 'obsd-master' Thomas Adam 2026-06-19 11:15:06 +01:00
  • e7f649e40a Tidy up a bit in tty_draw_line. nicm 2026-06-19 09:56:53 +00:00
  • 5843fbc6ee Merge branch 'obsd-master' Thomas Adam 2026-06-19 09:30:06 +01:00
  • c8eca3a69d Add command-alias.sh test, from tanushnry at gmail dot com. Nicholas Marriott 2026-06-19 09:29:41 +01:00
  • 12fdcea8b8 Get use of raster attributes in the right order, from aizumusheer2 at gmail dot com in GitHub issue 5225. Nicholas Marriott 2026-06-19 09:24:48 +01:00