Commit Graph

  • 940fdf7ed0 Draw pane status line on the correct line when at the bottom, fixes issues if the window size is smaller than the entire terminal. GitHub issue 3943. nicm 2024-10-08 09:40:50 +00:00
  • 4f5d6d97d3 Merge branch 'obsd-master' Thomas Adam 2024-10-08 10:01:08 +01:00
  • 00412b570b Put the prompt cursor attributes into the status line screen and use that rather than updating the current screen (since there might not be one). nicm 2024-10-08 06:29:44 +00:00
  • 6a35b8ad07 Merge branch 'obsd-master' Thomas Adam 2024-10-07 16:01:08 +01:00
  • 735082b7c2 Add prompt-cursor-colour and prompt-cursor-style to set the style of the cursor in the command prompt and remove the emulated cursor, from Alexander Arch in GitHub issue 4170. nicm 2024-10-07 12:58:36 +00:00
  • 5b7bdc82c8 Merge branch 'obsd-master' Thomas Adam 2024-10-07 12:01:08 +01:00
  • a3dea81b49 Add initial-repeat-time option to allow the first repeat time to be increased and later reduced, from David le Blanc in GitHub issue 4164. nicm 2024-10-07 08:50:47 +00:00
  • 486221f206 Merge branch 'obsd-master' Thomas Adam 2024-10-06 12:01:07 +01:00
  • 9528d7470b Try to stay near the same line in modes if the current one is removed. nicm 2024-10-06 09:30:22 +00:00
  • 933d6b90ed Merge branch 'obsd-master' Thomas Adam 2024-10-05 16:01:07 +01:00
  • a869693405 Send focus events to pane when entering or leaving popup, GitHub issue 3991. nicm 2024-10-05 12:10:16 +00:00
  • 549c35b061 Update regression tests. 3.5a tmux-3.5a Nicholas Marriott 2024-10-05 07:01:16 +01:00
  • 42959db0a4 Update CHANGES. Nicholas Marriott 2024-10-05 07:00:22 +01:00
  • 114977dd25 Merge branch 'obsd-master' Thomas Adam 2024-10-05 04:01:08 +01:00
  • aba8ffbe7b Merge branch 'obsd-master' Thomas Adam 2024-10-05 02:01:07 +01:00
  • 455a2b3705 Remove some debugging left behind. nicm 2024-10-05 00:35:35 +00:00
  • e0638c48cd Add copy-mode-position-format to configure the position indicator. nicm 2024-10-05 00:32:55 +00:00
  • 41f6b691e3 Document missing window-layout-changed hook. nicm 2024-10-04 22:36:11 +00:00
  • 0f30fa34e3 Add install step. Nicholas Marriott 2024-10-04 23:26:18 +01:00
  • e486f5ffdc Merge branch 'obsd-master' Thomas Adam 2024-10-04 22:01:09 +01:00
  • 5a68730e2f Add -y flag to disable confirmation prompts in modes, GitHub issue 4152. nicm 2024-10-04 19:16:13 +00:00
  • 7997fd3152 Missing define. Nicholas Marriott 2024-10-04 18:59:53 +01:00
  • 048db82041 Do not translate BSpace as Unicode, GitHub issue 4156. nicm 2024-10-04 14:55:17 +00:00
  • 16b44d2a5b Merge branch 'obsd-master' Thomas Adam 2024-10-04 18:01:07 +01:00
  • 34775fc235 Do not translate BSpace as Unicode, GitHub issue 4156. nicm 2024-10-04 14:55:17 +00:00
  • f2fd8c854a Merge branch 'obsd-master' Thomas Adam 2024-10-04 10:01:08 +01:00
  • 9f2a853d87 Rework of copy mode commands ("send-keys -X") to parse the arguments so that flags may be detected propertly rather than just looking for strings ("-O" and so on). Also add -C and -P flags to the copy commands: -C prevents the commands from sending the text to the clipboard and -P prevents them from adding the text as a paste buffer. nicm 2024-10-04 07:03:08 +00:00
  • 7a78cdf78c Three SIXEL improvements from nincsnevem662 at gmail dot com in GitHub issue 4149: Nicholas Marriott 2024-10-04 07:49:07 +01:00
  • 356887bca2 Improve fix for shifted keys so it works for all the keys it should, Stanislav Kljuhhin in GitHub issue 4146. nicm 2024-10-03 05:41:59 +00:00
  • 2df15ad08c Merge branch 'obsd-master' Thomas Adam 2024-10-03 08:01:07 +01:00
  • 780a87be9a Improve fix for shifted keys so it works for all the keys it should, Stanislav Kljuhhin in GitHub issue 4146. nicm 2024-10-03 05:41:59 +00:00
  • 1e303b6a9d Bypass permission check for Cygwin, based on a different change by Yuya Adachi via Rafael Kitover; GitHub issue 4148. Nicholas Marriott 2024-10-02 14:04:06 +01:00
  • 8d2aee34ab Merge branch 'obsd-master' Thomas Adam 2024-10-02 14:01:10 +01:00
  • 05116cefe6 Add MSYSTEM to default update-environment. nicm 2024-10-02 11:51:15 +00:00
  • ce4be58eef Add a define for the socket permissions check so it can be overridden more easily (for Cgywin). nicm 2024-10-02 11:48:16 +00:00
  • 8d6eb4be40 Set client stdout file descriptor also for Cgywin, from Michael Wild via Rafael Kitover in GitHub issue 4148. Nicholas Marriott 2024-10-02 12:14:44 +01:00
  • 834ec91b44 Report shifted keys like S-A as A not as S-A in mode 1 extended keys, from Stanislav Kljuhhin. nicm 2024-10-02 08:06:45 +00:00
  • 38c38f1c64 Merge branch 'obsd-master' Thomas Adam 2024-10-02 10:01:08 +01:00
  • ddf6af79e3 Report shifted keys like S-A as A not as S-A in mode 1 extended keys, from Stanislav Kljuhhin. nicm 2024-10-02 08:06:45 +00:00
  • 826ba515be Merge branch 'obsd-master' Thomas Adam 2024-10-01 14:01:08 +01:00
  • 729bded8bf Fix up regression tests. Nicholas Marriott 2024-10-01 13:40:42 +01:00
  • b95a06d2d4 Add a way to make the preview larger in tree mode, GitHub issue 4124. nicm 2024-10-01 10:10:29 +00:00
  • 157d748949 Merge branch 'obsd-master' Thomas Adam 2024-10-01 10:01:10 +01:00
  • 1c1f4c1219 Use global cursor style and colour options for modes instead of default, GitHub issue 4117. nicm 2024-10-01 08:01:19 +00:00
  • 17bab32794 Change pasting to bypass the output key processing entirely and write what was originally received. Fixes problems with pasted text being interpreted as extended keys reported by Mark Kelly. nicm 2024-10-01 06:15:47 +00:00
  • 868ddf5d38 3.5a bits. Nicholas Marriott 2024-09-30 13:09:50 +01:00
  • a1b7a3bcb3 Only use default-shell for popups, return to /bin/sh for run-shell, if-shell and #() - these have been documented as using /bin/sh for a long time and scripts rely on it. Pointed out by Gregory Pakosz. nicm 2024-09-30 07:54:51 +00:00
  • cbd419c483 Fix grey colour, from Magnus Gross. nicm 2024-09-29 20:05:42 +00:00
  • 25b1cc1e8e Merge branch 'obsd-master' Thomas Adam 2024-09-30 12:01:11 +01:00
  • 89adec0ca5 On some Windows terminals, if TIOCWINSZ does not return xpixel and ypixel (they are zero), if this is the case then try the query escape sequences. From Dmitry Galchinsky in GitHub issue 4099. nicm 2024-09-30 08:10:20 +00:00
  • f95d055e04 Only use default-shell for popups, return to /bin/sh for run-shell, if-shell and #() - these have been documented as using /bin/sh for a long time and scripts rely on it. Pointed out by Gregory Pakosz. nicm 2024-09-30 07:54:51 +00:00
  • 7b148f7b5b Merge branch 'obsd-master' Thomas Adam 2024-09-29 22:01:09 +01:00
  • 9bd039d1bc Fix grey colour, from Magnus Gross. nicm 2024-09-29 20:05:42 +00:00
  • 7c30056d96 Bump to 3.6. Nicholas Marriott 2024-09-27 08:58:00 +01:00
  • ac44566c9c tmux 3.5. 3.5 Nicholas Marriott 2024-09-27 08:56:39 +01:00
  • 64f1076d97 Merge branch 'obsd-master' Thomas Adam 2024-09-17 00:01:09 +01:00
  • 489c69f5ed Add copy mode commands which were missed when descriptions were added, from Julian Prein, GitHub issue 4121. nicm 2024-09-16 20:46:58 +00:00
  • f897049935 Change the behaviour of extended-keys always slightly so that applications can still enter mode 2 if they want, they just cannot turn extended keys off entirely. From Stanislav Kljuhhin. nicm 2024-09-16 20:38:48 +00:00
  • d8b66110f7 Add a prefix timeout option, from Conor Taylor in GitHub issue 4108. nicm 2024-09-16 20:28:22 +00:00
  • 8b1a3bb2e5 Only default --enable-debug if the user has not turned it off, from Ken Lau. Nicholas Marriott 2024-09-16 21:18:54 +01:00
  • 37771a5a8d Merge branch 'obsd-master' Thomas Adam 2024-09-11 22:01:10 +01:00
  • 3a8a31d8d2 Mouse move keys are not useful as key bindings because we do not turn them on unless the application requests them. Ignore them so they do not cause the prefix to be canceled, GitHub issue 4111. nicm 2024-09-11 19:12:33 +00:00
  • c36ffcbe56 Typo from Bastian Venthur. Nicholas Marriott 2024-09-06 13:09:19 +01:00
  • 3d8ead8a97 Merge branch 'obsd-master' Thomas Adam 2024-08-28 10:27:21 +01:00
  • 141cd78407 Display hyperlinks in copy mode and add copy_cursor_hyperlink format to get the hyperlink under the cursor. nicm 2024-08-27 07:49:07 +00:00
  • d0c8124661 Add search_count and search_count_partial formats in copy mode, GitHub issue 4091. nicm 2024-08-27 07:31:26 +00:00
  • 2917bc5274 Do not reset mouse pane if clicked on status line, it may have been set by a range. nicm 2024-08-27 07:25:27 +00:00
  • 2d1e93447e Use strtonum instead of atoi. nicm 2024-08-26 13:02:15 +00:00
  • 31b6c9356c C-h should not be treated specially and represented internally as \b but as C-h like the other Ctrl keys. Backspace is already handled separately if it VERASE. nicm 2024-08-26 07:45:05 +00:00
  • 9e2a7c28f5 Pass the screen_redraw_ctx struct into more functions instead of individual arguments (for example for the pane status), from Michael Grant. nicm 2024-08-26 07:34:40 +00:00
  • 73b2277af8 Client flags was changed to uint64_t a while ago, fix a few cases where it is still int (do not matter now but will with some new flags). From Michael Grant. nicm 2024-08-26 07:30:46 +00:00
  • a84c109604 Add window_pane_mode helper function to tell if a pane is in copy mode, from Michael Grant. nicm 2024-08-26 07:14:40 +00:00
  • 4823acca8f Add copy-mode -d flag to scroll a page down if in copy mode already, from Michael Grant. nicm 2024-08-26 07:09:34 +00:00
  • 34807388b0 Merge branch 'obsd-master' Thomas Adam 2024-08-23 16:01:10 +01:00
  • 08be883297 Ignore internal function keys if they have not got an entry in the key table. nicm 2024-08-23 13:25:39 +00:00
  • 13bd0e46db Merge branch 'obsd-master' Thomas Adam 2024-08-23 14:01:08 +01:00
  • 6e9a914014 Check for exact match for layout name before looking for a prefix match. nicm 2024-08-23 10:19:06 +00:00
  • 7990e5fa8f Merge branch 'obsd-master' Thomas Adam 2024-08-22 12:01:07 +01:00
  • 4860a58d07 Clear overlay when command prompt is entered. Also fix some spacing in man page pointed out by jmc. nicm 2024-08-22 09:05:51 +00:00
  • 99af9f23bd Merge branch 'obsd-master' Thomas Adam 2024-08-22 08:01:08 +01:00
  • 9ebbe2cca7 Short Ctrl keys like ^A need to be converted to lowercase so they end up as 'a'|KEYC_CTRL to match the new internal representation. Problem reported by naddy@. nicm 2024-08-22 05:39:55 +00:00
  • 692bae9ea6 Merge branch 'obsd-master' Thomas Adam 2024-08-21 08:01:09 +01:00
  • a6645c4de4 Mention that load- and save-buffer can use stdin, from Ramon Fischer. nicm 2024-08-21 05:06:45 +00:00
  • 06292baadc Add mirrored versions of the main-horizontal and main-vertical layouts where the main pane is bottom or right instead of top or left, from Sherwyn Sen. nicm 2024-08-21 05:03:13 +00:00
  • ceda0a68ae C-Space and Meta keys should not be translated in mode 1 extended keys. nicm 2024-08-21 04:55:57 +00:00
  • 4fa90c9acf Set the default for extended-keys back to off because it appears emacs turns the keys on but does not correctly handle them except in xterm (!). Also fix so that off takes effect as expected. nicm 2024-08-21 04:37:42 +00:00
  • c7e61a01e5 Revamp extended keys support to more closely match xterm and support mode 2 as well as mode 1. From Stanislav Kljuhhin (GitHub issue 4038). nicm 2024-08-21 04:17:09 +00:00
  • 963e824f5f Merge branch 'obsd-master' Thomas Adam 2024-08-19 12:01:09 +01:00
  • de6bce057a Allow REP to work with Unicode characters, GitHub issue 3687. nicm 2024-08-19 08:31:36 +00:00
  • 937ba1d8dd Both terminators \007 and \033\\ leave the index pointing to the final character of the terminator, so correct the size calculation to always add one. GitHub issue 4082. nicm 2024-08-19 08:29:16 +00:00
  • 651891c3bd Merge branch 'obsd-master' Thomas Adam 2024-08-04 12:01:09 +01:00
  • 4008e2ff6d Make a little effort to treate CRLF as LF in config files. GitHub issue 3720. nicm 2024-08-04 09:42:23 +00:00
  • b88130d24b The Linux console has some bugs with bright colours. It seems likely that it is emulating them by setting a bright (or bold) flag; however, when the colour is changed from a bright colour (say SGR 96) to a non-bright (say SGR 36), the flag is not reset, so the new colour remains as bright. SGR 39 (default colour) also does not reset, so you end up with the bright default colour. Work around this by sending SGR 0 when switching away from a bright colour, and disable AX for TERM=linux. Also make the check for AX simpler and do not check for the op capability is not actually used. GitHub issue 3976. nicm 2024-08-04 09:35:30 +00:00
  • fc7ee7efc7 -l should be before -r, pointed out by jmc a while ago. nicm 2024-08-04 09:01:18 +00:00
  • d0eb3fe543 Use terminal-features instead of terminal-overrides to enable truecolor support in example_tmux.conf, from Simon Hengel. Nicholas Marriott 2024-08-04 09:59:18 +01:00
  • 2ac0faf119 If built with systemd, remove some environment variables it uses. From Ciprian Dorin Craciun, GitHub issue 4035. Nicholas Marriott 2024-08-04 09:58:13 +01:00
  • 775789fbd5 Rename header guards on compat/queue.h to avoid it conflicting if the system header is included first. This matters on some platforms (macOS) where queue.h is old. From Saagar Jha in GitHub issue 4041. Nicholas Marriott 2024-08-04 09:54:31 +01:00
  • 7b6fbe7262 Adjust the logic when deleting last buffer to better preserve the selection: if selecting the element below the deleted one fails (because as the last one), select the one above it instead. From Daniel Mueller, GitHub issue 4043. nicm 2024-08-04 08:53:43 +00:00
  • 109d2bda1a Merge branch 'obsd-master' Thomas Adam 2024-07-22 18:01:09 +01:00
  • ddd4e57c65 Expand full array option values if no index is provided, GitHub issue 4051. nicm 2024-07-22 15:27:42 +00:00