claudio
3894397b07
Switch from imsg_get to imsgbuf_get and switch type of n to int.
...
OK tb@
2026-08-04 17:23:10 +00:00
nicm
5cd1976a4a
Do not attempt to drain write buffer on stuck clients, since it requires
...
a weird dance to make libevent do it. Instead, just ignore the client
and destroy the buffer normally if not drained in 10 seconds.
2026-08-04 15:37:14 +00:00
nicm
d2322d0114
Check for floating only for flags that require a floating pane, reported
...
by Ilya Grigoriev.
2026-08-03 23:50:32 +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
4918360ea1
Exit failure on socket failure, from Rayan Salhab.
2026-08-03 13:59:13 +00:00
miod
cce56fa19b
Pessimize compiler flags for screen-redraw.c to prevent tmux from dumping core
...
upon startup on landisk.
2026-08-02 23:13:19 +00:00
nicm
8dfb7d0294
Fix unzoomed width when scrollbars are hidden.
2026-07-30 04:22:51 +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
6f41dac898
Fix #1 -> #{1} in tmux1, from Rasmus Thystrup Karstensen.
2026-07-29 10:10:06 +00:00
nicm
9f2c535909
Store status position in new mouse event for menus so the position is
...
correct later.
2026-07-28 15:09:07 +00:00
nicm
6a13d61b48
Show hook count and time in customize mode.
2026-07-28 12:15:37 +00:00
nicm
a5ad1914b8
Add a warning about shell metacharacters, from Nikolas Skarlatos.
2026-07-28 10:09:26 +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
f751d3f2c1
When destroying pane, also close pipe and destroy its event. GitHub
...
issue 5424.
2026-07-27 19:56:19 +00:00
nicm
5269e14113
Add after-swap-window hook from basicalllymiloud at gmail dot com.
2026-07-27 14:00:18 +00:00
nicm
d57d75deee
Include \n and \t in shell special characters, from Nikolas Skarlatos.
2026-07-26 19:57:57 +00:00
nicm
4cc45aa719
Do not try to write to clients which have died, GitHub issue 5431 from
...
Stefan Ladstätter.
2026-07-26 16:16:37 +00:00
nicm
3068ae06a8
Also set ntitles to 0 when creating screen in the first place.
2026-07-26 10:55:45 +00:00
nicm
55169f1275
Reset title count when freeing titles, GitHub issue 5429 from Brett
...
Smith.
2026-07-26 10:55:45 +00:00
nicm
afb95f3134
Do not loop forever if the combining character is too long, GitHub issue
...
5434 from me at qdrs dot dev.
2026-07-26 10:55:45 +00:00
nicm
47f210a9d2
Replace outside as well as empty cells with the border.
2026-07-24 11:46:45 +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
2a5389416a
Add a menu on empty areas to allow a new pane to be created.
2026-07-22 22:06:20 +00:00
nicm
9625fe3b5f
Show user hooks correctly with show-hooks.
2026-07-22 20:06:31 +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
a57b0f1282
Clip floating panes exactly at window edge, don't let the border creep
...
into the first outside column.
2026-07-21 15:06:22 +00:00
nicm
c59db2d007
Invalidate scene when window is resized.
2026-07-21 15:06:22 +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
9d583cad5a
If drawing border but not actually on a border, use the default line
...
style.
2026-07-21 12:55:44 +00:00
nicm
abd2f3a9a5
Add copy-mode-current-line-style to set style for current line in copy
...
mode, GitHub issue 5391 from Leo Henon.
2026-07-21 12:55:44 +00:00
nicm
0e2576a842
Use correct cursor position for range end, GitHub issue 5414.
2026-07-21 09:17:32 +00:00
nicm
418ddada23
Increase escape-time for tmux's own queries (refresh-client -l and
...
window size) as well, GitHub issue 5388 from Jackson Edmonds.
2026-07-21 09:17:32 +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
efcfc55535
Correctly include status line in pane height.
2026-07-20 11:14:56 +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
8024fab1f2
Copy the home directory if it comes from getpwuid.
2026-07-19 20:33:36 +00:00
nicm
c766669b3b
Add unzoomed width and height formats and use them for the sizes shown
...
in panes mode, reported by tb@.
2026-07-19 19:57:31 +00:00
nicm
6ef280fb0f
Guard x as well as y to avoid overflow, GitHub issue 5409 from Park
...
Seongjae.
2026-07-19 18:29:02 +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
377a810168
Add some missing calls to invalidate scene.
2026-07-17 16:49:55 +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
a177d0f590
Change %% to escape single quotes (%1 remains with no quoting and %%
...
with double quotes) to avoid a single quote being able to terminate
quoted sections of commands. Fixes unexpected behaviour with session
names containing single quotes reported by Aliz Hammond.
2026-07-17 12:15:52 +00:00
nicm
d5b1f3ad89
Clear cfg_client if the client is destroyed to prevent UAF found by Ilya
...
Grigoriev.
2026-07-17 09:00:52 +00:00
nicm
1d0d22df22
Fix uninitialized var for sscanf %n.
2026-07-16 16:43:21 +00:00
nicm
824a07290f
Do not redraw overlays unless actually asked to, GitHub issue 5398 from
...
Noam Stolero.
2026-07-16 12:54:45 +00:00