Commit Graph

  • 697cebb4c1 Include curses properly for hyperlinks ifdef, from chrysn at fsfe dot org. Nicholas Marriott 2022-07-19 07:48:48 +01:00
  • 3c65475561 Fix memory leak, from Gabriel Souza Franco. nicm 2022-07-19 06:46:57 +00:00
  • dc6bc0e95a Merge branch 'obsd-master' Thomas Adam 2022-07-06 12:01:09 +01:00
  • b130e951cc Merge branch 'obsd-master' Thomas Adam 2022-07-06 10:01:10 +01:00
  • 9e19f132f2 Errors are now displayed on attach so use control mode to test instead. Nicholas Marriott 2022-07-06 09:54:53 +01:00
  • 1afe22086f Show config errors on attach if they were not shown when the session was created. nicm 2022-07-06 08:40:52 +00:00
  • 8e8b9865d1 Add hyperlink test, from Jeff Chiang. Nicholas Marriott 2022-07-06 09:02:12 +01:00
  • a39827a85c Remove debugging code. nicm 2022-07-06 08:32:28 +00:00
  • 9e03df5500 Defer reading from control client until the command line command has completed. nicm 2022-07-06 08:31:59 +00:00
  • dd602eaa61 Mention whether time is creation/activity for sort orders. nicm 2022-07-06 07:51:37 +00:00
  • d0d2c39dec Support hyperlinks with capture-pane -e and add a mouse_hyperlink format, GitHub issue 3247 from Jeff Chiang. nicm 2022-07-06 07:36:36 +00:00
  • 57fec74966 Merge branch 'obsd-master' Thomas Adam 2022-07-04 12:01:10 +01:00
  • 9360e0ef32 Sort panes by index not by ID, GitHub issue 3249. nicm 2022-07-04 08:39:45 +00:00
  • f08c019d41 Do not set Hls for hyperlinks on ncurses older than 5.9 (for example macOS). Nicholas Marriott 2022-06-30 16:46:26 +01:00
  • c3af8f6b16 hyperlinks: remove vis.h Thomas Adam 2022-06-30 16:44:43 +01:00
  • 01c4919f5f Merge branch 'obsd-master' Thomas Adam 2022-06-30 16:37:18 +01:00
  • cdacc12ce3 Add support for OSC 8 hyperlinks (a VTE extension now supported by other terminals such as iTerm2). Originally written by me then extended and completed by first Will Noble and later Jeff Chiang. GitHub issues 911, 2621, 2890, 3240. nicm 2022-06-30 09:55:53 +00:00
  • d8c527a5f9 Merge branch 'obsd-master' Thomas Adam 2022-06-27 12:01:09 +01:00
  • b22edcf3a5 Tweak previous - find end of style correctly. nicm 2022-06-27 09:16:54 +00:00
  • 786cff8db9 Do not expand single character format aliases inside #[] since they interfere with colours. GitHub issue 3239 from Magnus Gross. nicm 2022-06-27 09:14:49 +00:00
  • b63afaea61 Merge branch 'obsd-master' Thomas Adam 2022-06-21 12:01:09 +01:00
  • 9c89f7c2af Store time lines are scrolled into history and display in copy mode. nicm 2022-06-21 09:30:01 +00:00
  • d46870ede5 Merge branch 'obsd-master' Thomas Adam 2022-06-20 12:01:09 +01:00
  • a888ce9963 Do not display configuration file errors in a pane when in control mode, instead report them with a %config-error notification. GitHub issue 3193. nicm 2022-06-20 07:59:37 +00:00
  • 8ff3091d16 Merge branch 'obsd-master' Thomas Adam 2022-06-17 10:01:10 +01:00
  • d9f84854ac Check cursor options when a pane is created, not just when they are changed. nicm 2022-06-17 07:28:05 +00:00
  • 89fe2680a9 Merge branch 'obsd-master' Thomas Adam 2022-06-16 16:01:08 +01:00
  • 7cee982f90 Keep cursor on selected item on menu (useful for blind people), GitHub issue 3225. nicm 2022-06-16 13:27:39 +00:00
  • 42358cc521 Typos from Bastian Venthur. Nicholas Marriott 2022-06-15 08:00:58 +01:00
  • 06869ff22f Merge branch 'obsd-master' Thomas Adam 2022-06-14 10:01:08 +01:00
  • 616bde08ac kf* terminfo capabilities are poorly defined and rxvt uses them in a different way from xterm, so add a feature flag for rxvt to make tmux ignore the capabilities and instead rely on its builtin definitions. nicm 2022-06-14 07:29:00 +00:00
  • 6d0828b81c Merge branch 'obsd-master' Thomas Adam 2022-06-11 20:01:09 +01:00
  • 42ddf02ffc Fix size of flags output buffer. nicm 2022-06-11 16:59:33 +00:00
  • 56390e0a39 Merge branch 'obsd-master' Thomas Adam 2022-06-10 16:01:11 +01:00
  • 18a5835aff Ignore OSC if the first argument is not properly terminated. nicm 2022-06-10 11:55:30 +00:00
  • 67960dcc9a Merge tag '3.3a' Nicholas Marriott 2022-06-09 13:07:18 +01:00
  • 0b355ae811 3.3a. 3.3a Nicholas Marriott 2022-06-09 12:30:50 +01:00
  • 6a9bb2a622 Remove extra definition of getpeereid. From Eric N Vander Weele in GitHub issue 3209. Nicholas Marriott 2022-06-02 21:44:28 +01:00
  • 988e59cf3e 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
  • 30e06e9d85 Do not unintentionally turn off all mouse mode when button is also present. nicm 2022-06-03 08:09:16 +00:00
  • 810daefdd1 Merge branch 'obsd-master' Thomas Adam 2022-06-09 12:01:09 +01:00
  • ccc9dc3bb4 If an application gives the first parameter to OSC 52, validate and pass on to outside terminal. GitHub issue 3192. nicm 2022-06-09 09:12:55 +00:00
  • be2eb57d62 Merge branch 'obsd-master' Thomas Adam 2022-06-07 14:01:09 +01:00
  • c07d582e24 Expand arguments to some commands where it makes sense, GitHub issue 3204 from Anindya Mukherjee. nicm 2022-06-07 10:02:19 +00:00
  • afb3a5fe71 Merge branch 'obsd-master' Thomas Adam 2022-06-04 10:01:09 +01:00
  • 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