1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
Commit Graph

4233 Commits

Author SHA1 Message Date
nicm
9e4e626151 Only map S-Tag in mode 2, not mode 1. GitHub issue 4304. 2024-12-20 07:10:51 +00:00
nicm
5df986e2a2 Assign excess space more evenly when spreading out cells, from Torbjorn
Lonnemark.
2024-12-17 08:40:24 +00:00
nicm
926caf46e6 Add a nesting limit to source-file, from Fadi Afani in GitHub issue
4223.
2024-12-16 09:13:09 +00:00
nicm
be3910bdd6 Memory leak, GitHub issue 4298. 2024-12-16 08:54:34 +00:00
nicm
f2412267dc Missing main-vertical-mirrored from layout list, from charlotte at
lottia dot net.
2024-12-16 08:51:41 +00:00
nicm
95980d0818 Preserve modifiers on backspace. 2024-12-06 09:07:40 +00:00
nicm
a1f482fe91 Do not write bracketed paste keys themselves if the pane has not asked
for them.
2024-12-06 09:06:56 +00:00
nicm
6338d89d41 Fix backspace option for new key format, GitHub issue 4284. 2024-12-04 19:11:15 +00:00
jmc
ac44f26236 M-1 to M-7 for 7 preset layouts; from bunkmate
ok nicm
2024-12-03 11:18:34 +00:00
jmc
f934cab508 refer to glob(7) rather than fnmatch(3);
from evan silberman

ok sthen semarie millert nicm
2024-12-03 11:15:44 +00:00
nicm
a65ab48513 Add extended keys flag for foot terminal. 2024-11-28 08:49:14 +00:00
nicm
891a8d2917 Do not check for latest client in callback since the type may be latest
but with no window, fixes new-session -x and -y with another attached
client. GitHub issue 4268.
2024-11-27 10:12:20 +00:00
nicm
33eead7d7c Do not stop drag on double or triple click, GitHub issue 4272. 2024-11-27 10:10:20 +00:00
nicm
4d3ac07a3f Add copy-mode-position-style and copy-mode-selection-style for copy
mode (they default to mode-style as before).
2024-11-26 15:52:41 +00:00
nicm
f82227c013 Enter is now sent from single prompt as \r not empty string. 2024-11-26 15:51:48 +00:00
nicm
c075a77f78 Do not try to terminate an empty buffer. 2024-11-25 12:32:24 +00:00
nicm
9b5345da40 Use cursor style from global options instead of default for popups, from
Alexander Arch.
2024-11-25 08:36:46 +00:00
nicm
83bde3731d 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
nicm
3a77592715 Do not strvis output to terminal from commands. 2024-11-22 12:58:05 +00:00
nicm
648656b41d Document command prompt escape sequence, from Von Welch. 2024-11-22 12:36:13 +00:00
claudio
0e59d0d19c 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
claudio
668e5ba9d8 Convert the common imsgbuf_read calls to the post EAGAIN world.
OK tb@
2024-11-21 13:21:33 +00:00
claudio
31be28ca73 Use imsgbuf_queuelen() instead of accessing the w.queue member.
OK tb@
2024-11-21 13:18:37 +00:00
claudio
dd7efffe3c Rename imsg_init, imsg_clear, imsg_read, imsg_write and imsg_flush to
imsgbuf_init, imsgbuf_clear, imsgbuf_read, imsgbuf_write and imsgbuf_flush.

This separates the imsgbuf API from the per-imsg API.

OK tb@
2024-11-21 13:17:01 +00:00
claudio
2ea38b85f0 Convert imsg_write() callers to the new simplified return logic.
OK tb@
2024-11-21 13:15:01 +00:00
claudio
ce33693d52 Introduce imsg_write() and use it instead of msgbuf_write().
imsg_write() is just a thin wrapper around msgbuf_write(). So this is
mostly search and replace.

OK tb@
2024-11-21 13:10:18 +00:00
nicm
6bf0a2afb6 Fix save-buffer documentation - it writes to stdout. From Ilya Grigoriev. 2024-11-21 07:37:21 +00:00
nicm
156ff25b2e 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
nicm
61e9d0de7a Fix word navigation on lines with tabs, from Alexander Arch. 2024-11-20 20:54:02 +00:00
nicm
bd2271cf81 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
nicm
d62c220e1d Do not call layout_fix_panes if wp is NULL (that is, a popup). 2024-11-16 16:49:50 +00:00
nicm
104e139db9 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
nicm
dd0df66992 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
nicm
8b4580606d Turn off scrollbar when pane is in alternate screen, from Michael Grant,
GitHub issue 4231.
2024-11-15 09:01:16 +00:00
nicm
ad6cb7964d Tidy up loop, from Alexander Arch. 2024-11-12 10:06:35 +00:00
nicm
afeb706a3f Mouse support on the scrollbars, from Michael Grant. 2024-11-12 09:32:56 +00:00
nicm
d5f1c1a5f7 Add an option to control the input buffer size, from Ken Lau. 2024-11-11 08:41:05 +00:00
nicm
c851f9950b Some fixes for searching for tabs, from Alexander Arch. 2024-11-08 08:51:36 +00:00
nicm
7431360021 Xr to Ic, from jmc. 2024-11-05 21:07:19 +00:00
nicm
d21175333f 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
nicm
0663b627de Do not make padding cells extended (there can be a lot of them), from
Alexander Arch .
2024-11-04 08:52:13 +00:00
nicm
ad32295362 Match tab cells when searching, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:51 +00:00
nicm
7a5fb1a8fd Treat tabs as a word separator, from Alexander Arch in GitHub issue
4201.
2024-10-28 08:16:06 +00:00
nicm
0460263c2a 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
nicm
4574382ea5 Allow tabs even on terminals without UTF-8, reported by jmc. 2024-10-25 19:36:38 +00:00
nicm
e505ea9657 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
nicm
aaac879f2c Do not attempt to search for zero length strings, from Alexander Arch in
GitHub issue 4209.
2024-10-25 15:19:15 +00:00
nicm
ce32014f33 Do not stop stop at first padding in format_grid_line and handle tabs. 2024-10-25 15:13:10 +00:00
nicm
02d75531b1 Flag tabs if possible in the grid cell so they can be preserved on
copying and capture-pane. From Alexander Arch in GitHub issue 4201.
2024-10-25 15:00:18 +00:00
nicm
26b00f5955 Add a helper function for cell data comparison, from Alexander Arch. 2024-10-25 07:57:49 +00:00