Commit Graph

9914 Commits

Author SHA1 Message Date
20b0b38cf4 iTerm2 has OSC 7, from Gregory Anders. 2022-05-30 12:57:31 +00:00
0a8f356c72 Spacing/style nits. 2022-05-30 12:55:25 +00:00
af611815ea Emit window-layout-changed on swap-pane, from George Nachman. 2022-05-30 12:54:09 +00:00
4ae2c64657 Better error reporting when applying custom layouts. 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.
2022-05-30 12:48:57 +00:00
bf33e807b6 Fix property name, from Sergei Dyshel. 2022-05-30 08:43:06 +01:00
cf7e1c94df Remove duplicates from completion list, GitHub issue 3178. 2022-05-20 09:00:37 +01:00
1b28b2b51d Add pane_start_path to match start_command. 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.
2022-05-20 08:33:57 +01:00
ead75c2d51 Typos, from imcusg at gmail dot com. 2022-05-14 20:16:46 +01:00
2cad9a6af8 Check if args_strtonum argument is NULL or not a string, from Anindya
Mukherjee.
2022-05-14 20:13:52 +01:00
3b7dae9a53 Do not allow pipe-pane on dead panes, from Anindya Mukherjee, GitHub issue
3174.
2022-05-02 10:47:08 +01:00
5ed64657d8 Merge branch 'obsd-master' 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.
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.
2022-04-18 11:47:14 +01:00
e0c982c5ad iTerm2 has OSC 7, from Gregory Anders. 2022-04-15 12:45:43 +01:00
d4423dca19 Fix clearphist alias, from Jacqueline Jolicoeur via jmc@. 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.
2022-04-06 16:47:59 +01:00
3a6d82b7c8 Some style nits. 2022-04-06 16:39:46 +01:00
0c84a20d2f Emit window-layout-changed on swap-pane, from George Nachman. 2022-04-06 14:43:12 +01:00
996e54763c Better error reporting when applying custom layouts. 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.
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.
2022-04-06 14:28:50 +01:00
6e9a9d265e Fix version. 2022-04-06 14:26:19 +01:00
36648f2668 Merge remote-tracking branch 'origin/3.3-rc' 2022-04-06 14:25:57 +01:00
7f86cab1d2 Merge tag '3.3-rc'
3.3-rc
2022-04-06 14:24:33 +01:00
39b1e96b45 Add to CHANGES. 2022-04-06 14:24:17 +01:00
1e9c3b3c63 Preserve CRLF flag when respawning. 2022-04-06 14:19:52 +01:00
fc6580574e man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@
2022-04-06 14:19:52 +01:00
2df7bc14fa Capture up to used size not available size for each line. 2022-04-06 14:19:52 +01:00
880abd0ec2 Report error if creating socket fails with -D. 2022-04-06 14:19:52 +01: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.
2022-04-06 14:19:52 +01:00
98de5784a0 Fix exit message if creating socket fails. 2022-04-06 14:19:51 +01: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.
2022-04-06 14:19:51 +01: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.
2022-04-06 14:19:51 +01:00
60a0a904e0 Check scroll-on-clear for ED also. 2022-04-06 14:19:51 +01:00
c0508c9321 Add an option (scroll-on-clear) to control if tmux scrolls into history
on clear, from Robert Lange in GitHub issue 3121.
2022-04-06 14:19:51 +01:00
fe44b105e4 Add an option to set the character used for unused areas of the
terminal, GitHub issue 3110.
2022-04-06 14:19:51 +01:00
ad7113e0db With -f use percentages of window size not pane size, GitHub issue 2866. 2022-04-06 14:19:51 +01:00
23e613fcf5 Fix user hooks (which are strings not arrays). 2022-04-06 14:19:51 +01:00
98b92c0525 Add remain-on-exit-format to set text shown when pane is dead. 2022-04-06 14:19:51 +01:00
57f331438a Add argument to refresh-client -l to forward clipboard to a pane. GitHub
issue 3068.
2022-04-06 14:19:51 +01:00
8aed444201 Add formats for client and server UID and user (for multiuser setups). 2022-04-06 14:19:50 +01:00
f97d784f17 Use getpeerucred if available (not tested). 2022-04-06 14:19:50 +01:00
759f949654 Need a declaration for getpeereid also. 2022-04-06 14:19:50 +01:00
f1d8724198 Add getpeerid compat. 2022-04-06 14:19:50 +01:00
367ee79df0 Remove unnecessary declarations. 2022-04-06 14:19:50 +01:00
d5a84de842 Pass client when adding menu item, GitHub issue 3103. 2022-04-06 14:19:50 +01:00
355ced93cc Allow optional arguments. 2022-04-06 14:19:50 +01:00
bc0bd8213d Don't convert codes for special keys (Tab, Enter, Escape). 2022-04-06 14:19:50 +01:00