Commit Graph

  • 020c403dff When picking a buffer because one isn't specified by the user, ignore named buffers. GitHub issue 3212 from David le Blanc. nicm 2022-06-04 07:42:07 +00:00
  • e77e11ec6b Merge branch 'obsd-master' Thomas Adam 2022-06-03 12:01:09 +01:00
  • 3edda3c5e7 Do not unintentionally turn off all mouse mode when button is also present. nicm 2022-06-03 08:09:16 +00:00
  • 1184dc08d4 Merge branch 'obsd-master' Thomas Adam 2022-06-03 00:01:08 +01:00
  • 18838fbc87 Do not attempt to use client in config file (it will be NULL), GitHub issue 3206. nicm 2022-06-02 21:19:32 +00:00
  • be2617036f Remove extra definition of getpeereid. From Eric N Vander Weele in GitHub issue 3209. Nicholas Marriott 2022-06-02 21:44:28 +01:00
  • 0f6227f46b When deleting or renaming a buffer and a buffer name is specified, complain if the buffer doesn't exist instead of silently deleting or renaming the most recent buffer. GitHub issue 3205. nicm 2022-06-02 20:41:21 +00:00
  • c1ac007576 Merge branch 'obsd-master' Thomas Adam 2022-06-01 18:01:08 +01:00
  • 201a8d8e7e If escape-time is 0, force to 1 instead - not waiting at all is asking for problems on some platforms. nicm 2022-06-01 15:43:22 +00:00
  • b566cd57bf Now back to 3.4. Nicholas Marriott 2022-06-01 08:50:54 +01:00
  • 87fe00e8b4 Update CHANGES. 3.3 Nicholas Marriott 2022-06-01 08:23:40 +01:00
  • ced83792b1 Set version to 3.3. Nicholas Marriott 2022-06-01 08:28:32 +01:00
  • 42f6d11a6b Merge branch 'obsd-master' Thomas Adam 2022-05-31 20:01:10 +01:00
  • 74fb959f6d Add a missing space. nicm 2022-05-31 16:13:43 +00:00
  • 9daaf01730 Merge branch 'obsd-master' Thomas Adam 2022-05-31 14:01:09 +01:00
  • 86a184b288 Trim menu item text correctly, GitHub issue 3197. nicm 2022-05-31 10:22:42 +00:00
  • af596c0828 Merge branch 'obsd-master' Thomas Adam 2022-05-30 16:28:27 +01:00
  • 58c8ea1209 Remove duplicates from completion list, GitHub issue 3178. nicm 2022-05-30 13:07:46 +00:00
  • 2f2bb82f5f Add pane_start_path to match start_command. nicm 2022-05-30 13:07:06 +00:00
  • 6a5d210e55 Set PWD so shells have a hint about the real path (this was done before but lost in a merge). GitHub issue 3186. nicm 2022-05-30 13:06:41 +00:00
  • 384f0ee269 Fix property name from Sergei Dyshel, and a typo from imcusg at gmail dot com. nicm 2022-05-30 13:06:10 +00:00
  • 006a529db1 Check if args_strtonum argument is NULL or not a string, from Anindya Mukherjee. nicm 2022-05-30 13:04:24 +00:00
  • af1496b300 Do not allow pipe-pane on dead panes, from Anindya Mukherjee, GitHub issue 3174. nicm 2022-05-30 13:03:46 +00:00
  • 2b60ff588e If a mouse position was above the maximum supported by the normal mouse protocol (223), tmux was allowing it to wrap around. However, since tmux was not correctly handling this on input, other programs also do not handle it correctly, and the alternative SGR mouse mode is now widespread, this seems unnecessary, so remove this feature. Also define some constants to make it clearer what the numbers mean. Mostly from Leonid S Usov in GitHub issue 3165. nicm 2022-05-30 13:02:55 +00:00
  • cd89000c1d Add a way for lines added to copy mode to be passed through the parser to handle escape sequences and use it for run-shell, GitHub issue 3156. nicm 2022-05-30 13:00:18 +00:00
  • 20b0b38cf4 iTerm2 has OSC 7, from Gregory Anders. nicm 2022-05-30 12:57:31 +00:00
  • 0a8f356c72 Spacing/style nits. nicm 2022-05-30 12:55:25 +00:00
  • af611815ea Emit window-layout-changed on swap-pane, from George Nachman. nicm 2022-05-30 12:54:09 +00:00
  • 4ae2c64657 Better error reporting when applying custom layouts. nicm 2022-05-30 12:52:02 +00:00
  • cd692b5a68 Add an ACL list for users connecting to the tmux socket. Users may be forbidden from attaching, forced to attach read-only, or allowed to attach read-write. A new command, server-access, configures the list. tmux gets the user using getpeereid(3) of the client socket. Users must still configure file system permissions manually. From Dallas Lyons and others. nicm 2022-05-30 12:48:57 +00:00
  • bf33e807b6 Fix property name, from Sergei Dyshel. Nicholas Marriott 2022-05-30 08:43:06 +01:00
  • cf7e1c94df Remove duplicates from completion list, GitHub issue 3178. Nicholas Marriott 2022-05-20 09:00:37 +01:00
  • 1b28b2b51d Add pane_start_path to match start_command. Nicholas Marriott 2022-05-20 08:49:05 +01:00
  • 95baa32383 Set PWD so shells have a hint about the real path (this was done before but lost in a merge). GitHub issue 3186. Nicholas Marriott 2022-05-20 08:33:57 +01:00
  • ead75c2d51 Typos, from imcusg at gmail dot com. Nicholas Marriott 2022-05-14 20:16:46 +01:00
  • 2cad9a6af8 Check if args_strtonum argument is NULL or not a string, from Anindya Mukherjee. Nicholas Marriott 2022-05-14 20:13:52 +01:00
  • 3b7dae9a53 Do not allow pipe-pane on dead panes, from Anindya Mukherjee, GitHub issue 3174. Nicholas Marriott 2022-05-02 10:46:11 +01:00
  • 5ed64657d8 Merge branch 'obsd-master' Thomas Adam 2022-05-01 22:33:38 +01:00
  • c6b51cea92 If a mouse position was above the maximum supported by the normal mouse protocol (223), tmux was allowing it to wrap around. However, since tmux was not correctly handling this on input, other programs also do not handle it correctly, and the alternative SGR mouse mode is now widespread, this seems unnecessary, so remove this feature. Also define some constants to make it clearer what the numbers mean. Mostly from Leonid S Usov in GitHub issue 3165. Nicholas Marriott 2022-04-27 11:34:08 +01:00
  • 58d1a206c6 Add a way for lines added to copy mode to be passed through the parser to handle escape sequences and use it for run-shell, GitHub issue 3156. Nicholas Marriott 2022-04-18 11:47:14 +01:00
  • e0c982c5ad iTerm2 has OSC 7, from Gregory Anders. Nicholas Marriott 2022-04-15 12:45:43 +01:00
  • d4423dca19 Fix clearphist alias, from Jacqueline Jolicoeur via jmc@. nicm 2022-04-14 06:59:29 +00:00
  • 8bcd392ee7 On platforms with no way to get peer UID, use getuid(), also fix some failure checks. Nicholas Marriott 2022-04-06 16:47:59 +01:00
  • 3a6d82b7c8 Some style nits. Nicholas Marriott 2022-04-06 16:39:46 +01:00
  • 0c84a20d2f Emit window-layout-changed on swap-pane, from George Nachman. Nicholas Marriott 2022-04-06 14:43:12 +01:00
  • 996e54763c Better error reporting when applying custom layouts. Nicholas Marriott 2022-04-06 14:41:44 +01:00
  • 18105c8ecb Do not send focus sequences when focus is enabled or disabled by the application if it is turned off. GitHub issue 3142. Nicholas Marriott 2022-04-06 14:30:37 +01:00
  • d6306b634e Add an ACL list for users connecting to the tmux socket. Users may be forbidden from attaching, forced to attach read-only, or allowed to attach read-write. A new command, server-access, configures the list. tmux gets the user using getpeereid(3) of the client socket. Users must still configure file system permissions manually. Nicholas Marriott 2022-04-06 14:28:50 +01:00
  • 6e9a9d265e Fix version. Nicholas Marriott 2022-04-06 14:26:19 +01:00
  • 36648f2668 Merge remote-tracking branch 'origin/3.3-rc' Nicholas Marriott 2022-04-06 14:25:57 +01:00
  • 7f86cab1d2 Merge tag '3.3-rc' Nicholas Marriott 2022-04-06 14:24:33 +01:00
  • 39b1e96b45 Add to CHANGES. Nicholas Marriott 2022-04-06 14:24:17 +01:00
  • 1e9c3b3c63 Preserve CRLF flag when respawning. nicm 2022-04-01 10:11:59 +00:00
  • fc6580574e man pages: add missing commas between subordinate and main clauses naddy 2022-03-31 17:27:27 +00:00
  • 2df7bc14fa Capture up to used size not available size for each line. nicm 2022-03-30 07:05:26 +00:00
  • 880abd0ec2 Report error if creating socket fails with -D. nicm 2022-03-28 07:40:57 +00:00
  • 1c69a91c25 Add support for systemd socket activation (where systemd creates the Unix domain socket for tmux rather than tmux creating it). Build with --enable-systemd. From Julien Moutinho in GitHub issue 3119. Nicholas Marriott 2022-03-28 08:42:13 +01:00
  • 98de5784a0 Fix exit message if creating socket fails. nicm 2022-03-25 06:14:42 +00:00
  • d4eda7f9e5 Add unit (milliseconds) to escape-time, show unset colours as "none" rather than "invalid" and don't show the same text twice for user options in customize mode. nicm 2022-03-24 12:07:25 +00:00
  • 89a0046ad3 Add a capability for OSC 7 and use it similarly to how the title is set (and controlled by the same set-titles option). GitHub issue 3127. nicm 2022-03-24 09:05:57 +00:00
  • 60a0a904e0 Check scroll-on-clear for ED also. nicm 2022-03-17 13:39:13 +00:00
  • c0508c9321 Add an option (scroll-on-clear) to control if tmux scrolls into history on clear, from Robert Lange in GitHub issue 3121. nicm 2022-03-17 11:35:37 +00:00
  • fe44b105e4 Add an option to set the character used for unused areas of the terminal, GitHub issue 3110. nicm 2022-03-16 17:00:17 +00:00
  • ad7113e0db With -f use percentages of window size not pane size, GitHub issue 2866. nicm 2022-03-08 22:14:25 +00:00
  • 23e613fcf5 Fix user hooks (which are strings not arrays). nicm 2022-03-08 21:58:37 +00:00
  • 98b92c0525 Add remain-on-exit-format to set text shown when pane is dead. nicm 2022-03-08 18:31:46 +00:00
  • 57f331438a Add argument to refresh-client -l to forward clipboard to a pane. GitHub issue 3068. nicm 2022-03-08 12:01:19 +00:00
  • 8aed444201 Add formats for client and server UID and user (for multiuser setups). nicm 2022-03-08 11:28:40 +00:00
  • f97d784f17 Use getpeerucred if available (not tested). Nicholas Marriott 2022-03-08 11:35:06 +00:00
  • 759f949654 Need a declaration for getpeereid also. Nicholas Marriott 2022-03-08 11:04:15 +00:00
  • f1d8724198 Add getpeerid compat. Nicholas Marriott 2022-03-08 11:02:17 +00:00
  • 367ee79df0 Remove unnecessary declarations. Nicholas Marriott 2022-03-07 15:21:39 +00:00
  • d5a84de842 Pass client when adding menu item, GitHub issue 3103. nicm 2022-03-07 11:52:09 +00:00
  • 355ced93cc Allow optional arguments. nicm 2022-03-03 08:24:12 +00:00
  • bc0bd8213d Don't convert codes for special keys (Tab, Enter, Escape). nicm 2022-03-01 15:20:22 +00:00
  • 141a823ea4 Use PATH_MAX instead of MAXPATHLEN. topcat001 2022-02-28 13:11:28 -08:00
  • 42e7959336 Exit on SIGHUP before attach also, GitHub issue 3084. nicm 2022-02-28 09:34:57 +00:00
  • 9947f7416a Map control keys back to an ASCII uppercase letter when passing them on as extended keys. nicm 2022-02-28 09:24:22 +00:00
  • c030d6fe36 MAXCOMLEN is no longer needed in these programs, so remove the annotation from sys/param.h include lines, or remove the include lines entirely if it this was the least requirement. ok millert deraadt 2022-02-22 17:35:01 +00:00
  • 046530878b Do not attempt to update focus (and crash) when there is no previous window. nicm 2022-02-22 13:31:18 +00:00
  • a26ebccd42 Add next_session_id format with the next session ID, GitHub issue 3078. nicm 2022-02-22 11:10:41 +00:00
  • 92a26a8b8c Initialize copy_width before adjusting it, GitHub issue 3079. nicm 2022-02-22 11:07:25 +00:00
  • f74a98cd07 Use correct size for screen when popup is created without borders. nicm 2022-02-22 11:01:57 +00:00
  • 4893edd5d6 Add a window-resized hook which is fired when the window is actually resized which may be later than the client resize, GitHub issue 2995. nicm 2022-02-17 09:58:47 +00:00
  • 6a0a783c26 Support more mouse buttons when the terminal sends them, GitHub issue 3055. nicm 2022-02-16 18:55:05 +00:00
  • 7f40c5b647 No not allow static linking on macOS. Nicholas Marriott 2022-02-16 12:26:23 +00:00
  • eabbc80b75 Add an option (default off) to control the passthrough escape sequence. Like set-clipboard and allow-rename it is safer to forbid this by default. nicm 2022-02-15 13:11:29 +00:00
  • 190b88fcab Do not create a buffer from an OSC 52 response if we have not sent a query. nicm 2022-02-15 13:03:02 +00:00
  • 2adbe3ec16 Do not return error with -q, GitHub issue 3065. nicm 2022-02-14 09:10:48 +00:00
  • 9efa419955 Use ACS for pane border indicators so they work with different line types, from Thomas Adam. nicm 2022-02-04 11:57:22 +00:00
  • 921be61930 Adjust size given to resize-pane for pane status line, GitHub issue 3050. nicm 2022-02-03 11:06:11 +00:00
  • b0ff446727 Merge branch 'obsd-master' into master Thomas Adam 2022-04-01 14:01:11 +01:00
  • 65c0af76fb Preserve CRLF flag when respawning. nicm 2022-04-01 10:11:59 +00:00
  • 87b248f3e8 Merge branch 'obsd-master' into master Thomas Adam 2022-03-31 20:01:11 +01:00
  • 2d9f4ca9a1 man pages: add missing commas between subordinate and main clauses naddy 2022-03-31 17:27:27 +00:00
  • fc82f2525c Merge branch 'obsd-master' into master Thomas Adam 2022-03-30 10:01:11 +01:00
  • ded695504f Capture up to used size not available size for each line. nicm 2022-03-30 07:05:26 +00:00
  • ac16f2c641 Merge branch 'obsd-master' into master Thomas Adam 2022-03-28 10:01:11 +01:00
  • fc7f1e7acb Add support for systemd socket activation (where systemd creates the Unix domain socket for tmux rather than tmux creating it). Build with --enable-systemd. From Julien Moutinho in GitHub issue 3119. Nicholas Marriott 2022-03-28 08:42:13 +01:00
  • 207b1bc385 Report error if creating socket fails with -D. nicm 2022-03-28 07:40:57 +00:00