Commit Graph

10544 Commits

Author SHA1 Message Date
f57131e11b Use cursor style from global options instead of default for popups, from
Alexander Arch.
2024-11-25 08:36:46 +00:00
420af9e108 Do not rely on window reference count for linked formats because they
are also used for notifications, GitHub issue 4258.
2024-11-25 08:34:01 +00:00
ceaf9b7452 Merge branch 'obsd-master' 2024-11-22 14:01:11 +00:00
5fd45b3892 Do not strvis output to terminal from commands. 2024-11-22 12:58:05 +00:00
64d82d5988 Document command prompt escape sequence, from Von Welch. 2024-11-22 12:36:13 +00:00
0f308bd18f imsg no longer associates file descriptors with the imsg they were sent with,
work around this for the moment (it is not clear if this is intentional).
2024-11-22 09:58:47 +00:00
1365f1ce52 Add an __unused. 2024-11-22 08:07:21 +00:00
7fc4e54efe And arpa/inet.h needs to stay... 2024-11-22 08:06:30 +00:00
c98c08c232 Need to remove endian.h as well. 2024-11-22 08:05:02 +00:00
990c724bd8 Bring in updated imsg. 2024-11-22 08:03:55 +00:00
b82c7b40b0 Merge branch 'obsd-master' 2024-11-21 16:01:11 +00:00
70299c6646 Convert sbin and usr.bin to check for imsgbuf_init failure and add
imsgbuf_allow_fdpass where needed.

OK tb@
2024-11-21 13:35:20 +00:00
ea6c5053c8 Merge branch 'obsd-master' 2024-11-21 10:01:09 +00:00
3f4fd45d5c Fix save-buffer documentation - it writes to stdout. From Ilya Grigoriev. 2024-11-21 07:37:21 +00:00
7c7e88253e When the mouse clicked on the border between two horizontal panes, the
location was not being set properly. Pulled the checking of this into
separate function for clarity. Fixes dragging on horizontal pane border.
From Michael Grant.
2024-11-21 07:34:38 +00:00
bb94a5437d Merge branch 'obsd-master' 2024-11-21 00:01:13 +00:00
273f9b2027 Fix word navigation on lines with tabs, from Alexander Arch. 2024-11-20 20:54:02 +00:00
b6d0b4be30 Define SD_ID128_UUID_FORMAT_STR if missing, from Marc Reisner. 2024-11-19 17:55:12 +00:00
2dce45f427 Merge branch 'obsd-master' 2024-11-18 10:01:12 +00:00
a3ede3106a Check all %if in the list when deciding whether to process an
assignment, not just the most recent.
2024-11-18 08:29:35 +00:00
dd9722184b Merge branch 'obsd-master' 2024-11-16 18:01:08 +00:00
a854e36f2b Do not call layout_fix_panes if wp is NULL (that is, a popup). 2024-11-16 16:49:50 +00:00
be594ff8a4 Merge branch 'obsd-master' 2024-11-15 16:01:11 +00:00
c66628e52b Add no-detach-on-destroy client option (useful for control mode
clients). From laur dot aliste at gmail dot com, GitHub issue 4242.
2024-11-15 14:09:04 +00:00
350a151ee4 Add two new style parameters, width and pad, which apply to scrollbars.
From Michael Grant, GitHub issue 4241.
2024-11-15 13:12:20 +00:00
d35458e3fe Merge branch 'obsd-master' 2024-11-15 10:01:11 +00:00
d6883c0266 Turn off scrollbar when pane is in alternate screen, from Michael Grant,
GitHub issue 4231.
2024-11-15 09:01:16 +00:00
563ed05353 Merge branch 'obsd-master' 2024-11-12 12:01:10 +00:00
f527412d9b Tidy up loop, from Alexander Arch. 2024-11-12 10:06:35 +00:00
713cacab1e Mouse support on the scrollbars, from Michael Grant. 2024-11-12 09:32:56 +00:00
846f813565 Merge branch 'obsd-master' 2024-11-11 10:01:08 +00:00
c26d71d3e9 Add an option to control the input buffer size, from Ken Lau. 2024-11-11 08:41:05 +00:00
c8677d3272 Merge branch 'obsd-master' 2024-11-08 10:01:08 +00:00
596ea62dc3 Some fixes for searching for tabs, from Alexander Arch. 2024-11-08 08:51:36 +00:00
1fe30bb2e8 Merge branch 'obsd-master' 2024-11-06 20:33:45 +00:00
809d659e64 Xr to Ic, from jmc. 2024-11-05 21:07:19 +00:00
09f4e43189 Add support for a scrollbar at the side of each pane. New options
pane-scrollbars turn them on or off, pane-scrollbars-position sets the
position (left or right), and pane-scrollbars-style to set the colours.
Mouse support will come later. From Michael Grant in GitHub issue 4221.
2024-11-05 09:41:17 +00:00
679bbdcf8f Merge branch 'obsd-master' 2024-11-04 10:01:09 +00:00
a0c79aa87b Do not make padding cells extended (there can be a lot of them), from
Alexander Arch .
2024-11-04 08:52:13 +00:00
46f3846659 Add -Wno-macro-redefined for macOS. 2024-10-31 12:57:40 +00:00
bbc3cc558c Merge branch 'obsd-master' 2024-10-28 10:01:08 +00:00
c8bd42de16 Match tab cells when searching, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:51 +00:00
62e15e905b Treat tabs as a word separator, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:06 +00:00
125a7b9177 Fix issues in the command prompt: set PROMPT_QUOTENEXT after quoting
than before, meaning that accidentally scrolling the mouse wheel doesn't
break quoting; and move the cursor correctly over wide characters. From
Alexander Arch in GitHub issue 4212.
2024-10-28 08:11:59 +00:00
895044c52b Merge branch 'obsd-master' 2024-10-25 22:01:10 +01:00
40c01c2d37 Allow tabs even on terminals without UTF-8, reported by jmc. 2024-10-25 19:36:38 +00:00
911d768b71 Merge branch 'obsd-master' 2024-10-25 18:01:11 +01:00
71a503e40c Allow control characters to be entered at the command prompt prefixed
with with C-v, from  Alexander Arch in GitHub issue 4206.
2024-10-25 15:32:51 +00:00
487b0ee124 Do not attempt to search for zero length strings, from Alexander Arch in
GitHub issue 4209.
2024-10-25 15:19:15 +00:00
eaec0a48f4 Do not stop stop at first padding in format_grid_line and handle tabs. 2024-10-25 15:13:10 +00:00