Commit Graph

  • fa63088dce Merge branch 'obsd-master' master Thomas Adam 2025-08-26 10:01:07 +01:00
  • 0b7235c5f0 Correctly calculate lines to clear for deletions, from Pavel Roskin. nicm 2025-08-26 07:17:51 +00:00
  • ca0f0419e6 input_stop_utf8 can move the cursor, so it is now wrong to store the cursor position before calling it. Problem found by Jayakrishna Vadayath. nicm 2025-08-26 07:15:00 +00:00
  • 3520e833a4 Be more robust against misbehaving clients, prompted by deraadt based on a report from sai02 at student dot ubc dot ca. nicm 2025-08-26 07:00:22 +00:00
  • bb4866047a Fix build. Nicholas Marriott 2025-08-22 12:58:19 +01:00
  • 2070731af1 Merge branch 'obsd-master' Thomas Adam 2025-08-22 12:01:08 +01:00
  • a5909b450c Merge branch 'obsd-master' Thomas Adam 2025-08-22 10:01:08 +01:00
  • 94bafa5aaf A couple of memory leaks from someone in GitHub issue 4590. nicm 2025-08-22 07:48:23 +00:00
  • 7325da3052 Extend pane lookup special case for switch-client to mouse target ("=") so that it works for panes on status line. nicm 2025-08-22 07:42:51 +00:00
  • e6d275b371 Do not leak label if it is too long, GitHub issue 4591. nicm 2025-08-22 07:39:40 +00:00
  • f4c0fe2ede Merge branch 'obsd-master' Thomas Adam 2025-08-22 08:37:26 +01:00
  • 12452f4427 Do not double free argv from MSG_COMMAND if it is too long, reported by sai02 at student dot ubc dot ca via deraadt. ok deraadt nicm 2025-08-22 07:26:25 +00:00
  • 1370791734 Add a nicer default second and third status line, from Michael Grant in GitHub 4490. nicm 2025-08-14 07:15:40 +00:00
  • 0646814235 Add some NULL checks, GitHub issue 4586. nicm 2025-08-14 06:49:53 +00:00
  • 84775130a0 Add pane-border-lines value to use spaces for pane borders, from lukas dot 23022005 at gmail dot com in GitHub issue 4587. nicm 2025-08-14 06:44:50 +00:00
  • 4ce893ebc0 Do not leak opened file, from lg65438805 at gmail dot com in GitHub issue 4577. nicm 2025-08-14 06:37:29 +00:00
  • 3ae0d560be Replace invalid UTF-8 with the placeholder instead of ignoring them (this is what most terminals do), GitHub issue 4514. nicm 2025-08-12 12:33:05 +00:00
  • 06c84dba59 Fix PageDown in menus, from Pavel Roskin in GitHub issue 4581. nicm 2025-08-12 12:29:58 +00:00
  • d90e7623c6 Free command on failure, GitHub issue 4578. nicm 2025-08-12 12:26:09 +00:00
  • b13005e802 Merge branch 'obsd-master' Thomas Adam 2025-08-04 16:01:07 +01:00
  • 05b2893b9f Do not leak buffer if not used, reported by someone in GitHub issue 4575. nicm 2025-08-04 13:22:10 +00:00
  • 1bf2023ed4 Flush scrolling when wrapping so UTF-8 in last position draws correctly, GitHub issue 4518. nicm 2025-08-04 13:16:13 +00:00
  • 6f9bcb7fee Merge branch 'obsd-master' Thomas Adam 2025-08-01 12:01:08 +01:00
  • 6d94909c08 Do not leak on failure, GitHub 4565. nicm 2025-08-01 09:05:51 +00:00
  • 86153fbba9 Add UTF-8 regress test. Nicholas Marriott 2025-08-01 09:45:18 +01:00
  • 4f38af01e0 Fix reverse documentation of display-popup -s and -S, from Ricardo Signes. nicm 2025-08-01 08:17:27 +00:00
  • a6588d6918 Merge branch 'obsd-master' Thomas Adam 2025-07-22 10:01:08 +01:00
  • 720d1e831d The AIX functions hang on 7300-01-01-2246 according to GitHub issue 4400. Remove them. Nicholas Marriott 2025-07-22 09:09:56 +01:00
  • 206f492401 Fix incorrect handling of Korean Hangul Jamo characters. GitHub issue 4546 from Roy Jung. nicm 2025-07-22 07:42:52 +00:00
  • fa5f3cef3d Send SIGCHLD after utempter_remove_record as well. GitHub issue 4559. Nicholas Marriott 2025-07-20 19:57:50 +01:00
  • c70d0a6a69 Merge branch 'obsd-master' Thomas Adam 2025-07-19 22:01:08 +01:00
  • 6549aaf393 yyerror should be void. nicm 2025-07-19 19:30:37 +00:00
  • 6378c87d15 Only accept DA and DA2 when they end in 'c', stops them being confused with theme responses.. GitHub issue 4561. nicm 2025-07-19 19:20:10 +00:00
  • 4a0eff1296 Merge branch 'obsd-master' Thomas Adam 2025-07-19 00:01:08 +01:00
  • 9c07903ae9 Correctly remove overwritten wide characters at column 1. nicm 2025-07-18 20:44:13 +00:00
  • 32b7b3a6f7 Merge branch 'obsd-master' Thomas Adam 2025-07-17 14:01:08 +01:00
  • 041bbf8bdf Allow uppercase letters in gray/grey color names, GitHub issue 4560 from Pavel Roskin. nicm 2025-07-17 11:39:23 +00:00
  • 701f6b4b2f Update use-this-issue-template.md Nicholas Marriott 2025-07-17 10:59:53 +01:00
  • bddd019a04 Update use-this-issue-template.md Nicholas Marriott 2025-07-17 10:58:28 +01:00
  • 865117a05f Merge branch 'obsd-master' Thomas Adam 2025-07-13 10:01:08 +01:00
  • e6bac234db Increase delay for foreground and background queries as well as device attributes, GitHub issue 4541. nicm 2025-07-13 06:32:34 +00:00
  • 9f1fac9142 Use MAC_OS_X_VERSION_MIN_REQUIRED. From Sevan Janiyan, GitHub issue 4550. Nicholas Marriott 2025-07-13 07:26:35 +01:00
  • 9831175a2d Use window index not ID for sorting, reported by naru at naruaway dot com in GitHub issue 4551. nicm 2025-07-13 06:16:28 +00:00
  • 7e43953937 Merge branch 'obsd-master' Thomas Adam 2025-07-02 12:01:08 +01:00
  • 28481e984b Add sorting to W, P, L operators as well, and add some new session format variables. From Michael Grant in GitHub issue 4516. nicm 2025-07-02 08:13:09 +00:00
  • 30e4f119d3 Merge branch 'obsd-master' Thomas Adam 2025-07-01 12:01:08 +01:00
  • 01da87c112 new sentence, new line jsg 2025-07-01 08:54:50 +00:00
  • e7f15d09be Missed a header. Nicholas Marriott 2025-06-24 15:04:24 +01:00
  • cbb3c4bfed Update imsg from OpenBSD. Nicholas Marriott 2025-06-24 15:02:16 +01:00
  • d24993aeab Merge branch 'obsd-master' Thomas Adam 2025-06-24 14:01:08 +01:00
  • d858ad1179 Detect support for OSC 52 using the device attributes report. Some terminals are using this to indicate that they support copying to the clipboard with XTerm's OSC 52 sequence. From James Holderness in GitHub issue 4539. nicm 2025-06-24 10:57:35 +00:00
  • 96244dd727 Merge branch 'obsd-master' Thomas Adam 2025-06-20 18:01:08 +01:00
  • b38b5d3df2 Merge branch 'obsd-master' Thomas Adam 2025-06-20 16:01:08 +01:00
  • ad3e6ff054 Add noattr and use in mode-style to allow whether attributes are ignored or used to be configured. GitHub issue 4498. nicm 2025-06-20 14:54:33 +00:00
  • 522652913f Add S: to list sessions with modifiers for sorting, from Michael Grant. nicm 2025-06-20 13:31:59 +00:00
  • 43e88c892d Merge branch 'obsd-master' Thomas Adam 2025-06-16 02:01:07 +01:00
  • d82d9468b4 Expand mode-style with E: so # is correctly processed, GitHub issue 4533. nicm 2025-06-15 22:24:51 +00:00
  • d7f75ac985 Do not replace SHELL when using /bin/sh. From someone in GitHub issue 4528. nicm 2025-06-15 21:57:58 +00:00
  • 1dbceaa790 Merge branch 'obsd-master' Thomas Adam 2025-05-28 14:01:08 +01:00
  • 77ca59acac Add missing theme hooks, from Eric NICOLAS in GitHub issue 4519. nicm 2025-05-28 09:53:57 +00:00
  • 7be0613657 Merge branch 'obsd-master' Thomas Adam 2025-05-22 12:01:07 +01:00
  • b9ad9186fe Merge branch 'obsd-master' Thomas Adam 2025-05-22 10:01:08 +01:00
  • 3f4b154b70 Bump UTF8_SIZE to the maximum 32 because there are some crazy long UTF-8 sequences out there (GitHub issue 4506). This should not significantly increase typical memory consumption because we only store each Unicode character once in the shared cache. nicm 2025-05-22 08:01:29 +00:00
  • ff73c95547 New bash completion URL, from David Mandelberg. Nicholas Marriott 2025-05-22 08:52:10 +01:00
  • aa0d05f676 Typos, from someone in GitHub issue 4511. Nicholas Marriott 2025-05-22 08:51:14 +01:00
  • 545832e9fa Typo, from someone in GitHub issue 4511. nicm 2025-05-22 07:49:24 +00:00
  • a0ac2a5d63 When there are more than two horizontal windows and the active window is in not on an edge, correctly highlight both its left and right borders. GitHub issue 4513 from Michael Grant. nicm 2025-05-22 07:46:38 +00:00
  • 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