Commit Graph

9718 Commits

Author SHA1 Message Date
Nicholas Marriott
04952f15df Use getpeerucred if available (not tested). 2022-03-08 11:35:06 +00:00
Nicholas Marriott
9ed1226a66 Need a declaration for getpeereid also. 2022-03-08 11:04:15 +00:00
Nicholas Marriott
afd9b68d10 Add getpeerid compat. 2022-03-08 11:02:17 +00:00
Nicholas Marriott
54d2249716 Remove unnecessary declarations. 2022-03-07 15:21:39 +00:00
Thomas Adam
7eff2fe780 Merge branch 'obsd-master' into master 2022-03-07 14:01:11 +00:00
nicm
a731b1a916 Pass client when adding menu item, GitHub issue 3103. 2022-03-07 11:52:09 +00:00
Thomas Adam
f84f1c0cfe Merge branch 'obsd-master' into master 2022-03-03 10:01:09 +00:00
nicm
7d4224f207 Allow optional arguments. 2022-03-03 08:24:12 +00:00
Thomas Adam
bf14bf6259 Merge branch 'obsd-master' into master 2022-03-01 18:01:10 +00:00
nicm
f39a71aaad Don't convert codes for special keys (Tab, Enter, Escape). 2022-03-01 15:20:22 +00:00
Anindya Mukherjee
cd9a81e242
Merge pull request #3093 from topcat001/pathfix
Use PATH_MAX instead of MAXPATHLEN.
2022-02-28 13:16:23 -08:00
topcat001
047c011a15 Use PATH_MAX instead of MAXPATHLEN. 2022-02-28 13:11:28 -08:00
Thomas Adam
649685ff6d Merge branch 'obsd-master' into master 2022-02-28 12:01:10 +00:00
Thomas Adam
2750195709 Merge branch 'obsd-master' into master 2022-02-28 10:01:11 +00:00
nicm
2da096d828 Exit on SIGHUP before attach also, GitHub issue 3084. 2022-02-28 09:34:57 +00:00
nicm
2e59ff2db9 Map control keys back to an ASCII uppercase letter when passing them on
as extended keys.
2022-02-28 09:24:22 +00:00
Thomas Adam
60688afe9c Merge branch 'obsd-master' into master 2022-02-22 20:01:11 +00:00
deraadt
e8d6d53a7b 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
2022-02-22 17:35:01 +00:00
Thomas Adam
dc0746946e Merge branch 'obsd-master' into master 2022-02-22 16:01:11 +00:00
Thomas Adam
2be5488693 Merge branch 'obsd-master' into master 2022-02-22 14:01:10 +00:00
nicm
d54b18ca2b Do not attempt to update focus (and crash) when there is no previous window. 2022-02-22 13:31:18 +00:00
nicm
fa71e9a079 Add next_session_id format with the next session ID, GitHub issue 3078. 2022-02-22 11:10:41 +00:00
nicm
0fd01f8873 Initialize copy_width before adjusting it, GitHub issue 3079. 2022-02-22 11:07:25 +00:00
nicm
a9b880921d Use correct size for screen when popup is created without borders. 2022-02-22 11:01:57 +00:00
Thomas Adam
88d9a8fc05 Merge branch 'obsd-master' into master 2022-02-17 12:01:10 +00:00
nicm
818b2176ef 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.
2022-02-17 09:58:47 +00:00
Thomas Adam
722f395e61 Merge branch 'obsd-master' into master 2022-02-16 22:01:11 +00:00
nicm
0027ee13a0 Support more mouse buttons when the terminal sends them, GitHub issue
3055.
2022-02-16 18:55:05 +00:00
Nicholas Marriott
c7c7e875a0 No not allow static linking on macOS. 2022-02-16 12:26:23 +00:00
Thomas Adam
85ef73591d Merge branch 'obsd-master' into master 2022-02-15 16:01:11 +00:00
nicm
5076beb009 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.
2022-02-15 13:11:29 +00:00
nicm
f85208602d Do not create a buffer from an OSC 52 response if we have not sent a
query.
2022-02-15 13:03:02 +00:00
Thomas Adam
df681390a6 Merge branch 'obsd-master' into master 2022-02-14 10:01:11 +00:00
nicm
040164555a Do not return error with -q, GitHub issue 3065. 2022-02-14 09:10:48 +00:00
Thomas Adam
c67abcf818 Merge branch 'obsd-master' into master 2022-02-04 14:01:09 +00:00
nicm
07e2d88c20 Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
2022-02-04 11:57:22 +00:00
Thomas Adam
784d6a3929 Merge branch 'obsd-master' into master 2022-02-03 14:01:11 +00:00
Thomas Adam
c0598e2515 Merge branch 'obsd-master' into master 2022-02-03 12:01:10 +00:00
nicm
3276f0c184 Adjust size given to resize-pane for pane status line, GitHub issue
3050.
2022-02-03 11:06:11 +00:00
nicm
948d2fad0a Use format_draw for command prompt prefix to allow styles, GitHub issue
3054.
2022-02-03 10:07:11 +00:00
Thomas Adam
1fdec20b0d Merge branch 'obsd-master' into master 2022-02-03 10:01:10 +00:00
Thomas Adam
375f6c90b0 Merge branch 'obsd-master' into master 2022-02-03 08:01:12 +00:00
Nicholas Marriott
57396b55a2 Update CHANGES. 2022-02-03 07:50:06 +00:00
nicm
c401c91ad9 Update focus when active pane changes after pane destroyed. 2022-02-03 07:38:17 +00:00
nicm
5080acc127 Add a key in copy mode to toggle position indicator. 2022-02-03 07:26:43 +00:00
Thomas Adam
a5cf7a9b39 Merge branch 'obsd-master' into master 2022-02-01 20:01:13 +00:00
nicm
97900d0442 A menu must be shown on a client, so always give the client when adding
the items. Also fix mode menus.
2022-02-01 18:12:20 +00:00
Thomas Adam
a4f336a91a Merge branch 'obsd-master' into master 2022-02-01 16:01:11 +00:00
nicm
7e34645fcb Add option to show arrows for active pane indicator, GitHub issue 3022
from Marcel Partap.
2022-02-01 14:46:41 +00:00
Thomas Adam
1b7afd5129 Merge branch 'obsd-master' into master 2022-02-01 14:01:11 +00:00