Commit Graph

  • 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
  • 3c2621b41b Support building with jemalloc memory allocator, from Romain Francoise. Nicholas Marriott 2024-07-15 11:25:15 +01:00
  • 5039be657c utf8proc bits for utf8_fromwc. Nicholas Marriott 2024-07-12 14:30:56 +01:00
  • d02254f754 Merge branch 'obsd-master' Thomas Adam 2024-07-12 14:01:09 +01:00
  • aa1353947e UTF-8 keys now contain the internal representation and not the Unicode codepoint, so convert extended keys properly. From Stanislav Kljuhhin. nicm 2024-07-12 11:21:18 +00:00
  • 171004dfd0 Use mdoc on Illumos which uses mandoc, from Andy Fiddaman. Nicholas Marriott 2024-07-08 10:57:09 +01:00
  • c773fe89e7 Merge branch 'obsd-master' Thomas Adam 2024-06-24 12:01:10 +01:00
  • 093b5a5518 Add a way (refresh-client -r) for control mode clients to provide OSC 10 and 11 responses to tmux so they can set the default foreground and background colours, from George Nachman in GitHub issue 4014. nicm 2024-06-24 08:30:50 +00:00
  • db1665868f Check the underline style colour against the correct default value again (it was changed from 0 to 8), from Romain Francoise. nicm 2024-06-24 08:11:46 +00:00
  • c07e856d24 Merge branch 'obsd-master' Thomas Adam 2024-05-24 16:01:08 +01:00
  • 692ce59bce Do not escape $ unless DQ is set, that is the only case where we need to escape it. nicm 2024-05-24 12:41:24 +00:00
  • 9e7c1aee48 Add N to search backwards in tree modes, from Fadi Afani in GitHub issue 3982. nicm 2024-05-24 12:39:06 +00:00
  • 4c2eedca5a Merge branch 'obsd-master' Thomas Adam 2024-05-19 06:01:09 +01:00
  • ac6c1e9589 remove prototype with no matching function jsg 2024-05-19 03:27:58 +00:00
  • 0903790b00 Merge branch 'obsd-master' Thomas Adam 2024-05-18 12:01:09 +01:00
  • 03de52653e remove prototypes with no matching function; ok nicm@ jsg 2024-05-18 08:51:26 +00:00
  • da06719309 remove externs with no matching var; ok nicm@ jsg 2024-05-18 08:50:11 +00:00
  • fc84097379 Merge branch 'obsd-master' Thomas Adam 2024-05-15 14:01:09 +01:00
  • 4fd725c6e1 Merge branch 'obsd-master' Thomas Adam 2024-05-15 12:01:10 +01:00
  • d39dcea30a Use default-shell for command prompt #() and popups as well nicm 2024-05-15 09:59:12 +00:00
  • bfd65398a9 Fix memory leaks reported by Lu Ming Yin. nicm 2024-05-15 08:39:30 +00:00
  • 452d987e0e Merge branch 'obsd-master' Thomas Adam 2024-05-14 14:01:10 +01:00
  • 8ef899f315 Merge branch 'obsd-master' Thomas Adam 2024-05-14 12:01:09 +01:00
  • a18d1146aa Add missing time.h to tty.c (from Ismail Donmez), also remove some stray spaces. nicm 2024-05-14 10:11:09 +00:00
  • 5b5004e5ac Revert part of the change for GitHub issue 3675 because it does not work correctly, it was intended to skip lines that are already being searched as part of a previous wrapped line but in fact is skipping all lines except the last in wrapped lines. nicm 2024-05-14 09:32:37 +00:00
  • 6ff8f8fbf9 Merge branch 'obsd-master' Thomas Adam 2024-05-14 10:01:10 +01:00
  • c9616700ca Add a command-error hook when a command fails, from Hugh Davenport in GitHub issue 3973. nicm 2024-05-14 07:52:19 +00:00
  • 4c928dce74 Add an option to disable unwrapping lines for searching, from meanderingprogrammer at gmail dot com, GitHub issue 3975. nicm 2024-05-14 07:40:39 +00:00
  • fb37d52dde Restore previous behaviour or writing to stdout if available. nicm 2024-05-14 07:33:01 +00:00
  • 363d9c401e Merge branch 'obsd-master' Thomas Adam 2024-05-13 14:01:10 +01:00
  • 8643ece345 Fix memory leak, from Fadi Afani. nicm 2024-05-13 11:45:05 +00:00
  • 9ba433e521 Use printf not echo -e, from Joyce Lin. Nicholas Marriott 2024-05-13 12:42:14 +01:00
  • 3823fa2c57 Send SIGHUP since some programs ignore SIGTERM, from Eduardo Grajeda in GitHub issue 3958. Nicholas Marriott 2024-04-30 12:38:58 +01:00
  • 0a8571b6fe Merge branch 'obsd-master' Thomas Adam 2024-04-23 16:09:50 +01:00
  • ea9f416c99 correct indentation; no functional change ok tb@ jsg 2024-04-23 13:34:51 +00:00
  • 036d8993e6 Merge branch 'obsd-master' Thomas Adam 2024-04-15 12:01:11 +01:00
  • e8530c9fee Fixes for memory leaks reported by Lu Ming Yin, fixes from Howard Chu. nicm 2024-04-15 08:19:55 +00:00
  • dd4c0109a9 Missing headers for Android, from Biswapriyo Nath. Nicholas Marriott 2024-04-15 09:07:41 +01:00
  • 43530d4397 Merge branch 'obsd-master' Thomas Adam 2024-04-10 10:01:13 +01:00
  • 553d4cba79 Add an option allow-set-title to forbid applications from changing the pane title, from someone in GitHub issue 3930. nicm 2024-04-10 07:36:25 +00:00
  • c62a9ca16b Correct handling of mouse up events (don't ignore all but the last released button), and always process down event for double click. From Rudy Dellomas III in GitHub issue 3919. nicm 2024-04-10 07:29:15 +00:00
  • 424f13fe13 Do not get muddled and crash if focusing a pane that is exiting, reported by Saul Nogueras in GitHub issue 3776. nicm 2024-04-10 07:15:21 +00:00
  • 4bb6da75ba Merge branch 'obsd-master' Thomas Adam 2024-04-05 02:01:09 +01:00
  • a28175dbfd Pick newest session as documented, not oldest, from Magnus Gross. nicm 2024-04-04 22:44:40 +00:00
  • fc204bb5e5 Merge branch 'obsd-master' Thomas Adam 2024-03-26 12:01:11 +00:00
  • 6207a45139 Fix selection present check, reported by M Kelly. nicm 2024-03-26 10:20:20 +00:00
  • 3c3643f580 Merge branch 'obsd-master' Thomas Adam 2024-03-21 14:01:10 +00:00
  • 89c1c43ef9 Write padding character into the right position. nicm 2024-03-21 12:10:57 +00:00
  • 2e9d7ebf15 Reduce escape-time default to 10 milliseconds, 500 is far too long for modern terminals and networks. Case made by Kurtis Rader in GitHub issue 3844. nicm 2024-03-21 11:53:11 +00:00
  • d8ddeec7db Add -M to always turn mouse on in a menu, GitHub issue 3779. nicm 2024-03-21 11:51:32 +00:00
  • 6f0254e6a8 Look for feature code 21 for DECSLRM and 28 for DECFRA in the device attributes and also accept level 1 (there is no hardware with this but some emulators may use it). Pointed out by James Holderness. nicm 2024-03-21 11:47:55 +00:00
  • aa17f0e0c1 Fix crash if SIXEL colour register is invalid and remove SIXEL images before reflow to avoid a different crash, from Anindya Mukherjee. Nicholas Marriott 2024-03-21 11:37:09 +00:00
  • 0ae8b681b2 Use -p for default paste-buffer command in buffer mode, it will only do anything if the application asked for it. From Gregory Anders. nicm 2024-03-21 11:32:49 +00:00
  • 6c0067c103 Do not notify window-layout-changed if the window is about to be destroyed (since it may have been freed by the time the notify happens), from Romain Francoise in GitHub issue 3860. nicm 2024-03-21 11:30:42 +00:00
  • 5458cb2850 Revert detach-client part of last, did not intend this to go in. nicm 2024-03-21 11:27:18 +00:00
  • 0c374868ca Do not consider a selection present if it is empty, from Michael Grant (GitHub issue 3869). Also a typo fix from GitHub issue 3877. nicm 2024-03-21 11:26:28 +00:00
  • bf5d3f2e26 Typo, GitHub issue 3877. Nicholas Marriott 2024-03-21 11:19:59 +00:00
  • d5ef837f63 Remove duplicate .tmux.conf mention, from Valentin Rylenko. Nicholas Marriott 2024-03-21 11:18:00 +00:00
  • b79e28b2c3 Merge branch 'obsd-master' Thomas Adam 2024-03-13 14:01:09 +00:00
  • 8ffd5458ff Make the attach-session description clearer - do not mention creating a client which is not important, explicitly say the session must exist, and mention new-session and new-session -A. Prompted by Theo. nicm 2024-03-13 11:25:50 +00:00
  • b54e1fc4f7 Merge branch 'obsd-master' Thomas Adam 2024-03-07 00:01:10 +00:00
  • bdb6321229 Update lock.yml. Nicholas Marriott 2024-03-06 21:45:26 +00:00
  • bd29a48b56 Check for the right flag to fix split-window -p, from Bryan Childs. nicm 2024-03-06 21:32:39 +00:00
  • f3f1c3db58 Add missing headers, from Marvin Schmidt. Nicholas Marriott 2024-03-06 21:29:28 +00:00
  • 608d113486 next-3.5 Nicholas Marriott 2024-02-13 10:20:18 +00:00
  • 9ae69c3795 3.4. 3.4 Nicholas Marriott 2024-02-13 10:17:07 +00:00
  • 0960862950 Merge branch 'obsd-master' Thomas Adam 2024-02-13 10:01:10 +00:00
  • 44ad25b367 Update CHANGES. Nicholas Marriott 2024-02-13 09:12:08 +00:00
  • 40b97b1715 Add two new values for the destroy-unattached option to destroy sessions only if they are not members of sessions groups, from Mark Huang, GitHub issue 3806. nicm 2024-02-13 08:10:23 +00:00
  • 4bdb855020 Do not allow paste into panes which have exited, from Romain Francoise in GitHub issue 3830. nicm 2024-02-13 08:03:50 +00:00
  • ea7136fb83 Merge branch 'obsd-master' Thomas Adam 2024-01-22 18:01:09 +00:00
  • 428f8a9b28 Increase buffer size to avoid truncating styles, GitHub issue 3809 from Ricardo Bittencourt. nicm 2024-01-22 16:34:46 +00:00
  • 84faada25b Remove existing defines. Nicholas Marriott 2024-01-17 10:59:07 +00:00
  • 55d0abad89 Need htonll and ntohll. Nicholas Marriott 2024-01-17 10:57:32 +00:00
  • 7d91b4b90b htobe is not portable. Nicholas Marriott 2024-01-17 09:47:35 +00:00
  • 66369416fc Update imsg. Nicholas Marriott 2024-01-17 09:41:53 +00:00
  • 001e26d0bb Merge branch 'obsd-master' Thomas Adam 2024-01-16 14:01:09 +00:00
  • 2e39d698d2 Use imsg_get_fd() instead of direct access to imsg.fd claudio 2024-01-16 13:09:11 +00:00
  • e809c2ec35 Merge branch 'obsd-master' Thomas Adam 2024-01-03 19:17:10 +00:00
  • 4266d3efc8 Assignment should be inside SIXEL. Nicholas Marriott 2023-12-28 03:12:27 +00:00
  • 40a20bc8ae Only wrap pattern in *s if using a regular expression. nicm 2023-12-27 20:42:01 +00:00