Commit Graph

  • 833c7fbf6d Add a set-default style attribute which replaces the current default colours and attributes completely, useful at the start of compound format strings (like status-format) to set the default colours for all the following options. nicm 2025-05-22 07:43:38 +00:00
  • faf2a44890 Merge branch 'obsd-master' Thomas Adam 2025-05-12 14:01:10 +01:00
  • d194ceb604 Merge branch 'obsd-master' Thomas Adam 2025-05-12 12:01:10 +01:00
  • 37a2c98d3d Expand prompts when they are used rather than ahead of time, so the input can be used as part of the format. nicm 2025-05-12 10:34:13 +00:00
  • 79b02998a6 Add R format modifier to repeat an argument. nicm 2025-05-12 10:26:19 +00:00
  • 1ce1e7ef27 Add -E to run-shell to forward stderr as well as stdout, from github at jyn dot dev in GitHub issue 4246. nicm 2025-05-12 10:16:42 +00:00
  • 7499d925da Do not downgrade styled underscores to standard underscore if the terminal does not support them, this matches what would happen if the application tried to use them on a terminal without support. nicm 2025-05-12 09:50:00 +00:00
  • 367f17a4ff Preserve colours in selection if the option style is default, GitHub issue 4498. nicm 2025-05-12 09:17:42 +00:00
  • 3d2b26dcfe Merge branch 'obsd-master' Thomas Adam 2025-05-01 10:01:11 +01:00
  • 6106a0f2c4 Add an option variation-selector-always-wide to instruct tmux not to always interpret VS16 as a wide character and assume the terminal does likewise. This is behaviour seen in a number of newer terminals' Unicode 14 support but not in older terminals; it seems to be a little contentious and is currently difficult to detect. nicm 2025-05-01 07:12:00 +00:00
  • 1926c1b683 Don't map 256 to white-on-white either, and tidy code a bit. nicm 2025-05-01 06:59:32 +00:00
  • 6cc1a607fc optarg should be "extern char *" not "extern const char *". Nicholas Marriott 2025-05-01 07:53:02 +01:00
  • 1905afb3d8 tmux has its own warnx so there is no need for logit (and this gets rid of a warning). Nicholas Marriott 2025-04-29 17:39:56 +01:00
  • 345a45083d Run the regress/style-trim.sh test in a plain Bash session, from Koichi Murase. Nicholas Marriott 2025-04-29 17:29:32 +01:00
  • 3a3babf597 Use printf not echo, from Koichi Murase. Nicholas Marriott 2025-04-28 14:51:27 +01:00
  • f367e3a6c8 Switch to getopt_long from OpenSSH, from Koichi Murase in GitHub issue 4492. Nicholas Marriott 2025-04-28 09:02:15 +01:00
  • f2283b0cb5 Fix some regress tests. Nicholas Marriott 2025-04-28 08:57:10 +01:00
  • 26081ac125 Create config.yml Nicholas Marriott 2025-04-28 07:27:57 +01:00
  • 36fba4cc54 Merge branch 'obsd-master' Thomas Adam 2025-04-25 16:01:08 +01:00
  • 58b4286edb Merge branch 'obsd-master' Thomas Adam 2025-04-25 14:01:10 +01:00
  • b0b6a6f665 Revert change to handle command parsing failures in the client because it breaks aliases. nicm 2025-04-25 12:25:32 +00:00
  • 63e5989f53 Remove a stray period, reported by David Mandelberg. nicm 2025-04-25 11:39:39 +00:00
  • 9da5707d3e Add a run-shell output test. Nicholas Marriott 2025-04-25 11:55:06 +01:00
  • 55292b72d1 Merge branch 'obsd-master' Thomas Adam 2025-04-25 12:01:09 +01:00
  • 06b1ad6241 Tests for boolean expressions from David Mandelberg. Nicholas Marriott 2025-04-25 09:28:57 +01:00
  • 1efe41b9b9 Add more features for boolean expressions in formats: 1) extend && and || to support arbitrarily many arguments and 2) add ! and !! for not and not-not. nicm 2025-04-25 08:28:21 +00:00
  • 1198eed632 Currently the DCS dispatcher detects Sixel sequences based entirely on the final character of the sequence, ignoring any intermediates. This means that other DCS sequences with a q final (like DECRQSS), can be mistakenly interpreted as Sixel. Add a check to make sure there are no intermediates before dispatching potential Sixel sequences. From James Holderness in GitHub issue 4488. Nicholas Marriott 2025-04-25 08:26:26 +01:00
  • 0772fe822a Merge branch 'obsd-master' Thomas Adam 2025-04-24 12:01:10 +01:00
  • f53fac1b56 Do not add a trailing / if there is nothing to follow it, Johannes Altmanninger in GitHub issue 4472. nicm 2025-04-24 08:55:40 +00:00
  • 68f2ac9296 Fix examples with too many backslashes, pointed out by David Mandelberg. nicm 2025-04-24 08:54:40 +00:00
  • b4f8340f16 Merge branch 'obsd-master' Thomas Adam 2025-04-22 16:01:12 +01:00
  • d2f73c17d5 Add calls to layout_fix_panes after a pane swap to fix case if one of the panes is in alternate screen mode and had a scrollbar. From Michael Grant in GitHub issue 4481. nicm 2025-04-22 12:36:03 +00:00
  • 5db914b745 Add notes to menu keys, from someone in GitHub issue 4478. nicm 2025-04-22 12:34:56 +00:00
  • cd3d2910ee Fix description of pane_in_mode, from Julian Prein in GitHub issue 4469. nicm 2025-04-22 12:33:35 +00:00
  • de7653f5a4 Update format tests for #? changes, from David Mandelberg. Nicholas Marriott 2025-04-22 13:23:33 +01:00
  • b905039ed2 Improve #? conditional expression in formats: nicm 2025-04-22 12:23:26 +00:00
  • f0a85d0469 Move cgroup dbus requests to the child to avoid a race where a spawned child that quickly forks will have only the parent process moved to the newly created cgroup. From Daniel De Graaf, GitHub issue 4435. Nicholas Marriott 2025-04-14 07:26:05 +01:00
  • ac2779f4d8 Merge branch 'obsd-master' Thomas Adam 2025-04-09 10:01:12 +01:00
  • 68ffe65499 Fix documentation around optional arguments. This includes: nicm 2025-04-09 07:03:04 +00:00
  • 3e14e7c48b Formats can use environment variables, from David Mandelberg. nicm 2025-04-09 06:51:31 +00:00
  • b526e678b5 Make some usages more consistent and add -h to show usage, GitHub issue 4455 from David Mandelberg. nicm 2025-04-09 06:27:43 +00:00
  • d3c39375d5 Merge branch 'obsd-master' Thomas Adam 2025-04-03 14:01:10 +01:00
  • a7991dcbad Fix padding for word function as well, GitHub issue 4425. nicm 2025-04-03 11:52:25 +00:00
  • 47dff97834 Use backing grid for word in copy mode for wrapped flags, from someone in GitHub issue 4447. nicm 2025-04-03 11:51:27 +00:00
  • 2905395695 Merge branch 'obsd-master' Thomas Adam 2025-04-02 12:01:13 +01:00
  • 4bf38da4d4 Only align panes and windows, not sessions, from David Mandelberg in GitHub issue 4444. nicm 2025-04-02 09:31:00 +00:00
  • 9b37b9285e Popup window should not be draggable while mouse still pressed, and do not try to work out theme if no pane. From Michael Grant in GitHub issue 4330. nicm 2025-04-02 09:12:05 +00:00
  • dfdced2ab1 Merge branch 'obsd-master' Thomas Adam 2025-03-31 00:01:10 +01:00
  • c2a95a372f Add a note about closed issues, from David Mandelberg. Nicholas Marriott 2025-03-30 23:04:22 +01:00
  • ef923d28ff Do not try to trigger theme changed if session is NULL. nicm 2025-03-30 22:01:55 +00:00
  • 53b0e0bc02 Missing space, from David Mandelberg. nicm 2025-03-30 21:47:01 +00:00
  • 096c4b3e63 Merge branch 'obsd-master' Thomas Adam 2025-03-28 20:01:10 +00:00
  • b8189d6ee3 Merge branch 'obsd-master' Thomas Adam 2025-03-28 18:01:11 +00:00
  • f41dc91357 Only copy the key string not two bytes extra, found by David Mandelberg. nicm 2025-03-28 17:15:25 +00:00
  • ef0c12ad9e Fix read of uninitialized memory for jobs with JOB_PTY flag. From David Mandelberg. nicm 2025-03-28 17:03:49 +00:00
  • 9e1f110db0 Merge branch 'obsd-master' Thomas Adam 2025-03-24 22:01:11 +00:00
  • 483b2b3edb Correctly skip wide characters in hyperlinks, from someone in GitHub issue 4425. nicm 2025-03-24 20:17:24 +00:00
  • 34a35b0f09 Expand formats with the pane modifier in tree mode so that #() doesn't always use the same value. From Michael Grant in GitHub issues 4412 and 4420. nicm 2025-03-24 20:13:03 +00:00
  • aca3ffb30a Add default-client-command to set the command used is tmux is run without a command (the default stays new-session). From David Mandelberg in GitHub issue 4422. nicm 2025-03-24 20:01:03 +00:00
  • c3c4524def Merge branch 'obsd-master' Thomas Adam 2025-03-21 16:01:11 +00:00
  • f101762d1b Fix mouse_hyperlink format in copy mode. From someone in GitHub issue 4418. nicm 2025-03-21 14:04:26 +00:00
  • a541be3951 Add S-Up and S-Down to move windows in tree mode. From David Mandelberg in GitHub issue 4415. nicm 2025-03-21 13:36:42 +00:00
  • b7d640e764 Add some additional cursor format variables. From shiro at usagi dot io in GitHub issue 4414. nicm 2025-03-21 13:26:39 +00:00
  • 969f6a60c3 portable: SYNCING: correct tmux-openbsd Thomas Adam 2025-03-21 12:46:06 +00:00
  • 6703cb85d9 Merge branch 'obsd-master' Thomas Adam 2025-03-21 04:01:10 +00:00
  • 111e16e772 remove prototypes for removed functions jsg 2025-03-21 02:10:42 +00:00
  • 3eb93383a3 Merge branch 'obsd-master' Thomas Adam 2025-03-17 22:01:10 +00:00
  • 817b621d20 If there is an active query, set escape time temporarily to a higher value (the old default - 500). Some Windows terminals are very slow to respond, or the network may be slow. From github at jyn dot dev. nicm 2025-03-17 20:43:29 +00:00
  • 5eb30c1543 Handle padding cells correctly for regular expression searching, GitHub issue 4399 from github at jyn dot dev. nicm 2025-03-17 20:33:20 +00:00
  • d4b8635f50 Merge branch 'obsd-master' Thomas Adam 2025-03-11 10:01:12 +00:00
  • 4e4fe3eb39 Cleanup window_get_active_at function. GitHub issue 4401 from Michael Grant. nicm 2025-03-11 08:14:26 +00:00
  • 882fb4d295 Merge branch 'obsd-master' Thomas Adam 2025-03-04 10:01:15 +00:00
  • eaf70c955b Add mode 2031 support to automatically report dark or light theme. tmux will guess the theme from the background colour on terminals which do not themselves support the escape sequence. Written by Jonathan Slenders, GitHub issue 4353. nicm 2025-03-04 08:45:04 +00:00
  • 3543d79048 Free fill character string if it cannot be used, GitHub issue 4394. nicm 2025-03-04 08:03:19 +00:00
  • 94783addfc Merge branch 'obsd-master' Thomas Adam 2025-02-26 10:01:14 +00:00
  • 91c0de60b4 Also need the implied meta paste keys in the list for output. nicm 2025-02-26 09:02:00 +00:00
  • 21f7db4c4d Do not allow meta prefix on paste start and end sequences, GitHub issue 4387. nicm 2025-02-26 08:55:27 +00:00
  • f224d61f37 Document the use of ';' as a modifier separator, from Matt Liggett in GitHub issue 4384. nicm 2025-02-26 07:50:36 +00:00
  • d938ab5dd7 If command parsing fails in the client, report the error rather than trying to send the command to the server. GitHub issue 4372 from Nikola Tadic. nicm 2025-02-26 07:47:46 +00:00
  • 9a8f46e554 Fix colouring of pane border when scrollbars are enabled, GitHub issue 4378 from Michael Grant. nicm 2025-02-26 07:42:52 +00:00
  • 27ee0c9c3b Add the width of the scrollbars to the calculation of the width of the window panes when finding the adjacent panes, GitHub issue 4370 from Michael Grant. nicm 2025-02-26 07:39:50 +00:00
  • 251a87e2d2 Merge branch 'obsd-master' Thomas Adam 2025-02-20 16:01:14 +00:00
  • 084e6ee9ec Add a -M flag to capture-pane to use the copy mode screen, GitHub issue 4358. nicm 2025-02-20 13:39:58 +00:00
  • 18331e39bf Reset overlay_resize pointer when clearing overlay. nicm 2025-02-20 13:32:07 +00:00
  • 250c88efdc Add .swp, from Nikola Tadic. Nicholas Marriott 2025-02-20 13:30:26 +00:00
  • 9a377485be Merge branch 'obsd-master' Thomas Adam 2025-02-13 18:01:08 +00:00
  • 47a56c11f2 Add a note about C-r and C-s behaviour, GitHub issue 4309. nicm 2025-02-13 16:31:25 +00:00
  • c4b9716873 Look for imsg_add not _init now. Nicholas Marriott 2025-02-13 16:24:16 +00:00
  • ec119b2f9e Merge branch 'obsd-master' Thomas Adam 2025-02-10 10:01:11 +00:00
  • 5d1a6acc84 Align index numbers in trees, from David Mandelberg, GitHub issue 4360. nicm 2025-02-10 08:18:23 +00:00
  • 80eb460fc9 Add display-message -C flag to update pane while message is displayed, GitHub issue 4363 from Vitaly Ostrosablin. nicm 2025-02-10 08:14:32 +00:00
  • ef68debc8d Merge branch 'obsd-master' Thomas Adam 2025-01-27 12:01:13 +00:00
  • 4c12ac9fb8 Make list-commands command show only one command if an argument is given, from Ilya Grigoriev in GitHub issue 4352. nicm 2025-01-27 09:16:05 +00:00
  • 244bb726e2 Add some missing spaces, from Ilya Grigoriev. nicm 2025-01-27 09:05:22 +00:00
  • 6ab268c7bb Remove old issue template. Nicholas Marriott 2025-01-20 13:04:08 +00:00
  • 0c9f8ff189 Update issue templates Nicholas Marriott 2025-01-20 13:02:24 +00:00
  • dd7d04be95 Update issue templates Nicholas Marriott 2025-01-20 13:00:07 +00:00
  • 58392d29da Merge branch 'obsd-master' Thomas Adam 2025-01-17 18:01:08 +00:00
  • 9260f5dc96 Do not update focus on client's without a session. nicm 2025-01-17 15:53:01 +00:00
  • 62a6c16b43 Merge branch 'obsd-master' Thomas Adam 2025-01-13 12:01:11 +00:00