nicm
bd483a63cf
Ignore Ms if it is invalid (for example no %p1) and report in client
...
mode, GitHub issue 5460.
2026-08-05 11:31:08 +00:00
nicm
114aa68082
Do not let a stuck client prevent the server from exiting - give up
...
after 10 seconds. GitHub issue 5444 from Ben Maurer.
2026-08-03 21:33:21 +00:00
nicm
6db5175e4e
Queue control mode notifications rather than emitting them inside
...
%begin/%end, GitHub issue 5458 from George Nachman.
2026-08-03 16:29:09 +00:00
nicm
01a775a46c
Store background colour in padding cells and correctly clear adjacent
...
cells when tabs are overwritten, GitHu issue 5441 from Ayman Bagabas.
2026-08-03 13:59:13 +00:00
nicm
44b8a40b8c
Correctly skip padding at end of line, GitHub issue 5411.
2026-07-29 20:04:06 +00:00
nicm
415d265728
Add a flag to turn off scrollbars for display-panes; GitHub issue 5440
...
from David Marte.
2026-07-29 17:41:01 +00:00
nicm
27ab96b284
Store count of how many times a hook is fired and the last time.
2026-07-28 04:30:34 +00:00
nicm
8862390c34
Extend fill-character to allow inside and outside to be separate and use
...
a different default (filled characters rather than dots) for inside.
2026-07-23 11:33:52 +00:00
nicm
7277712ca8
Switch show-options over to using a format and add -F.
2026-07-22 22:06:20 +00:00
nicm
bd4ac02994
Add A modifier to cycle through a series of values, GitHub issue 5412
...
from Fernando Daciuk.
2026-07-22 15:11:38 +00:00
nicm
8bf2a4e807
Add a -C flag to new-pane to have a modal pane close when the mouse is
...
clicked outside it, GitHub issue 5400.
2026-07-21 15:06:22 +00:00
nicm
d13b69ece4
Change cellused/size to 16 bits and time to 32 bits in grid_line and add
...
the OSC 133 positions (size stays the same).
2026-07-20 14:44:19 +00:00
nicm
aea209b142
Remove bits to disable removing empty lines since actually we want to do
...
that - zoom added them in the first place.
2026-07-19 22:36:40 +00:00
nicm
496bfdce38
Prevent display-panes from shifting the active pane scroll position by
...
copying the screen from before zoom, also do not let resize consume
blank lines.
2026-07-17 19:34:34 +00:00
nicm
1ce000062a
Remove the active-pane flag for now, there are some gaps in how this
...
works and I don't like it. May come back in a different form (maybe just
for windows).
2026-07-17 14:08:08 +00:00
nicm
2711780dff
Move per-client window sizes into control.c since the only user is for
...
control mode.
2026-07-17 12:15:52 +00:00
nicm
d98635e1bd
Add modal panes, created currently with new-pane -O. There is one modal
...
pane per window and it must be a floating pane. These are intended to
replace popups. Currently a modal pane will unzoom a zoomed window and
rezoom it when it is closed (a bit like modes do), but this is planned
to change when we get an always-on-top flag.
2026-07-15 15:53:04 +00:00
nicm
cbb97b961c
Add a mouse binding for empty areas of the window so C-Drag works on
...
them as well.
2026-07-15 12:04:24 +00:00
nicm
ad6832e697
Switch menus also to be attached to the window instead of an overlay and
...
drawn as part of the client's scene. This means removing the popup menu.
2026-07-14 22:13:51 +00:00
nicm
1a02c9957c
Convert display-panes away from an overlay and into a mode. This is
...
another step on the road of getting rid of overlays altogether (they are
full of special cases; popups and menus are to go also eventually). We
lose some of the styling of borders but gain the ability to run
display-panes in another pane (perhaps not hugely useful but one never
knows). The -b flag goes away as no longer useful.
2026-07-14 19:57:30 +00:00
nicm
09d5977263
Add e key to open editor to customize mode (like buffer mode) and a key
...
to show only changed items.
2026-07-14 04:18:52 +00:00
nicm
658e087f7a
Add new-pane -M to create a new pane from a mouse binding and bind to
...
C-MouseDrag1Pane, removing the old ctrl-click-to-swap-pane binding.
2026-07-13 17:43:09 +00:00
nicm
b91086a5c8
Add pane-activity event.
2026-07-13 16:21:14 +00:00
nicm
e00a1a3e26
Add some additional simple events.
2026-07-13 14:35:33 +00:00
nicm
4a06a1f296
Work out a single layout for the entire prompt so it can all be drawn
...
together, fixes centered prompts. GitHub issue 5328.
2026-07-13 14:35:33 +00:00
nicm
2b091d91d3
Make split-window inside a floating pane work more nicely and not
...
immediately create an overlapping pane, from Dane Jensen.
2026-07-13 14:35:33 +00:00
nicm
7f2b0ae16e
Do not make pty fds blocking again until all the data has been consumed
...
or control mode clients can get stuck, GitHub issue 5356 from Ben Maurer.
2026-07-10 15:45:11 +00:00
nicm
512255b9a7
Add formats and events for OSC 133 commmands, as well as a -T flag to
...
set-hook -B to only fire when the format is true.
2026-07-10 15:20:06 +00:00
nicm
d29aa12117
Replace the notification system with events. Events can carry a payload of
...
additional payload (to reduce problems with lifetime of objects) and are
delivered to one or more event sinks. This is more powerful and reduces the
complex dependencies between control mode and hooks. Events are now used for
hooks, control mode notifications and for monitors (set-hook -B).
wait-for can now wait for an event to fire (-E flag, with -F to for filter),
with -v to print the payload, as well as listing (-l) waiting clients on an
event and forcing one to wake (-w).
A few additional hooks are also now available (pane-created, pane-resized, etc)
and some of the existing ones have additional format variables available.
2026-07-10 13:38:45 +00:00
nicm
76b693aa81
Add C-b g , and C-b g . for move and resize menus, also add to pane menu
...
(and fix to make them work).
2026-07-07 09:45:09 +00:00
nicm
7188391a22
Add a layout_geometry container struct, from Dane Jensen.
2026-07-07 08:07:26 +00:00
nicm
1117caaf09
Change array item keys to be strings instead of numbers which are
...
painful to work with.
2026-07-06 14:29:10 +00:00
nicm
3f065cf789
Add a window pane reference count.
2026-07-05 18:37:57 +00:00
nicm
2fdcb64a79
Add a define for whether mouse is enabled by default (still off).
2026-07-05 10:49:05 +00:00
nicm
de024e04d7
Add set-hook -B install a subscription like in control mode.
...
Subscriptions are formats which are checked once a second and if changed
invoke a hook. show-hooks -B lists.
2026-07-05 08:24:00 +00:00
nicm
8e03310afe
Move monitor stuff out of control.c into its own file for reuse.
2026-07-03 22:58:23 +00:00
nicm
0a81f4d742
Add a raw grid output to capture-pane for debugging and regression
...
tests.
2026-07-02 08:51:05 +00:00
nicm
824ef37f5f
Change layout sets to build the layout using the new mechanics, from
...
Dane Jensen.
2026-07-01 16:43:14 +00:00
nicm
565db46a19
Instead of fully redrawing the pane when sync ends, only redraw lines
...
that have been changed.
2026-07-01 15:44:13 +00:00
nicm
e9396e59d9
Add a couple of format c/f and c/b to emit colours.
2026-07-01 13:12:17 +00:00
nicm
e06207c914
Cache scrollbar options in window to avoid a slow lookup when working
...
out visible ranges.
2026-06-29 19:03:34 +00:00
nicm
65a032b205
Allow :. in names again, forbidding them is overly pernickety. Only
...
forbid invalid UTF-8 and #(.
2026-06-29 18:17:28 +00:00
nicm
bcd54d12d8
Add link=/nolink to styles to specific a hyperlink. GitHub issue 4280
...
from Moritz Angermann.
2026-06-29 17:08:52 +00:00
nicm
c29b41e527
Make pane scrollbars able to auto-hide after a short timeout. This
...
replaces the previous "modal" behaviour where the pane would be resized,
which tended to make a mess. Instead, the scrollbar appears when
scrolling or when hovered over with the mouse and disappears a
(configurable) short period later. From Michael Grant.
2026-06-29 07:45:09 +00:00
nicm
5e0b0a2aa3
Pulled code out of layout_split_pane for reuse and added
...
layout_insert_tile. From Dane Jensen.
2026-06-27 10:21:26 +00:00
nicm
e24969b422
Add a helper to swap a node into the place of a leaf, from Dane Jensen.
2026-06-27 10:18:32 +00:00
nicm
575f84ce0f
Add switch-mode a fast switcher with fuzzy searching, bound to Tab (for
...
windows) or BTab (S-Tab, for sessions) by default.
2026-06-26 14:40:30 +00:00
nicm
73fd01c986
Some colour fixes and tweaks (marked pane, cursor colours now work).
2026-06-26 11:36:22 +00:00
nicm
d0bf3bf06d
Add ability to float a tiled pane to break-pane, from Dane Jensen.
2026-06-26 10:02:01 +00:00
nicm
3631f81236
Apply better colours to various builtin bits in modes.
2026-06-26 08:10:48 +00:00