Commit Graph

9705 Commits

Author SHA1 Message Date
Nicholas Marriott
f97d784f17 Use getpeerucred if available (not tested). 2022-04-06 14:19:50 +01:00
Nicholas Marriott
759f949654 Need a declaration for getpeereid also. 2022-04-06 14:19:50 +01:00
Nicholas Marriott
f1d8724198 Add getpeerid compat. 2022-04-06 14:19:50 +01:00
Nicholas Marriott
367ee79df0 Remove unnecessary declarations. 2022-04-06 14:19:50 +01:00
nicm
d5a84de842 Pass client when adding menu item, GitHub issue 3103. 2022-04-06 14:19:50 +01:00
nicm
355ced93cc Allow optional arguments. 2022-04-06 14:19:50 +01:00
nicm
bc0bd8213d Don't convert codes for special keys (Tab, Enter, Escape). 2022-04-06 14:19:50 +01:00
topcat001
141a823ea4 Use PATH_MAX instead of MAXPATHLEN. 2022-04-06 14:19:50 +01:00
nicm
42e7959336 Exit on SIGHUP before attach also, GitHub issue 3084. 2022-04-06 14:19:50 +01:00
nicm
9947f7416a Map control keys back to an ASCII uppercase letter when passing them on
as extended keys.
2022-04-06 14:19:50 +01:00
deraadt
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
2022-04-06 14:19:50 +01:00
nicm
046530878b Do not attempt to update focus (and crash) when there is no previous window. 2022-04-06 14:19:50 +01:00
nicm
a26ebccd42 Add next_session_id format with the next session ID, GitHub issue 3078. 2022-04-06 14:19:50 +01:00
nicm
92a26a8b8c Initialize copy_width before adjusting it, GitHub issue 3079. 2022-04-06 14:19:50 +01:00
nicm
f74a98cd07 Use correct size for screen when popup is created without borders. 2022-04-06 14:19:50 +01:00
nicm
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.
2022-04-06 14:19:49 +01:00
nicm
6a0a783c26 Support more mouse buttons when the terminal sends them, GitHub issue
3055.
2022-04-06 14:19:49 +01:00
Nicholas Marriott
7f40c5b647 No not allow static linking on macOS. 2022-04-06 14:19:49 +01:00
nicm
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.
2022-04-06 14:19:49 +01:00
nicm
190b88fcab Do not create a buffer from an OSC 52 response if we have not sent a
query.
2022-04-06 14:19:49 +01:00
nicm
2adbe3ec16 Do not return error with -q, GitHub issue 3065. 2022-04-06 14:19:49 +01:00
nicm
9efa419955 Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
2022-04-06 14:19:49 +01:00
nicm
921be61930 Adjust size given to resize-pane for pane status line, GitHub issue
3050.
2022-04-06 14:19:49 +01:00
Nicholas Marriott
53ee4f0334 Merge branch 'master' into 3.3-rc 2022-02-03 12:50:49 +00:00
Thomas Adam
c0598e2515 Merge branch 'obsd-master' into master 2022-02-03 12:01:10 +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
b46abeb34d 3.3-rc. 2022-02-03 07:50:35 +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
nicm
7a4ba6d4a5 Mention that if-shell and #() use /bin/sh. 2022-02-01 12:05:42 +00:00
nicm
770d28b8c5 Do not overflow width when not enough space. 2022-02-01 11:52:08 +00:00
Thomas Adam
6c0397f497 Merge branch 'obsd-master' into master 2022-01-17 12:01:10 +00:00
nicm
a6b361e775 Do not try to strdup NULL, from seL4 at disroot dot org in GitHub issue
3038.
2022-01-17 10:40:03 +00:00
Thomas Adam
28b6237c62 Merge branch 'obsd-master' into master 2022-01-06 10:01:12 +00:00
Nicholas Marriott
e5e4df7a22 Mention alternate config files, from Daniel Augusto in GitHub issue 3023. 2022-01-06 08:23:42 +00:00
nicm
b2b94dcba7 Ignore windows without a size set (may be used for pane only), from
Anindya Mukherjee.
2022-01-06 08:20:00 +00:00
Thomas Adam
080079c55a Merge branch 'obsd-master' into master 2021-12-31 14:01:10 +00:00
nicm
e6e3c75ed7 Try to turn on less-capable mouse modes when turning on more-capable, to
increase the chances we get something even if the terminal doesn't support
the one we really want. GitHub issue 3020.
2021-12-31 11:35:49 +00:00
Thomas Adam
47923bd5f6 Merge branch 'obsd-master' into master 2021-12-21 18:01:10 +00:00
nicm
9aad945f7e Support underscore style with capture-pane -e, GitHub issue 2928. 2021-12-21 14:57:28 +00:00
Thomas Adam
9c82ff1778 Merge branch 'obsd-master' into master 2021-12-21 14:01:09 +00:00
nicm
ff64aafeab ARM's Morello CHERI architecture does not support pointers in packed
structures, so remove the packed attribute on struct grid_line and
reorder the members to eliminate unnecessary padding. From Jessica
Clarke in GitHub issue 3012.
2021-12-21 13:07:53 +00:00