3a76a56824
Merge branch 'obsd-master' into master
2021-02-17 09:58:51 +00:00
ce5de76592
Merge branch 'obsd-master' into master
2021-02-17 09:58:12 +00:00
af3ffa9c41
Move the call to setupterm() into the client and have it pass the
...
results to the server over imsg, means the server does not need to enter
ncurses or read terminfo db. Old clients will not work with a new
server.
2021-02-17 07:18:36 +00:00
e40831a002
Move file handling protocol stuff all into file.c so it can be reused
...
more easily.
2021-02-11 08:28:45 +00:00
fe3ab51b78
Merge branch 'obsd-master' into master
2021-02-08 10:01:20 +00:00
c579be1f2a
Include "focused" in client flags, from Dan Aloni in GitHub issue 2558.
2021-02-08 08:33:54 +00:00
82423975df
Merge branch 'obsd-master' into master
2021-01-18 14:01:21 +00:00
0730dce5ab
Hide some warnings on newer GCC versions, GitHUb issue 2525.
2021-01-18 11:14:23 +00:00
a3011be0d2
Look for libevent2 differently from libevent for platforms with both.
2021-01-17 17:21:51 +00:00
e288ea153c
Merge branch 'obsd-master' into master
2020-12-03 08:01:22 +00:00
fd451aa796
Redraw any visible modes when status line changes so that formats like
...
the pane title are updated. GitHub issue 2487. Also a man page fix from
jmc.
2020-12-03 07:12:11 +00:00
ffe39edf2f
Merge branch 'obsd-master'
2020-10-30 20:01:20 +00:00
95841ba16a
With csh, a tmux client gets SIGTERM before SIGCONT when killed with
...
"kill %%", so when the client tells the server it got SIGCONT, don't use
bits that may already have been freed when it got SIGTERM. Also don't
print anything on exit if we get SIGTERM while suspended. Reported by
Theo.
2020-10-30 18:54:23 +00:00
970e8f734c
Merge branch 'obsd-master'
2020-10-30 10:01:22 +00:00
910457f68d
There is no reason not to fire focus events when a pane is in a mode,
...
GitHub issue 2372.
2020-10-30 09:00:07 +00:00
649e5970e9
Add a -O flag to display-menu to change the mouse behaviour and not
...
close the menu when the mouse is released, from teo_paul1 at yahoo dot
com.
2020-10-30 08:55:56 +00:00
d5fac75667
Merge branch 'obsd-master'
2020-10-29 14:05:21 +00:00
b33a302235
Do not require that there be no other clients before loading the config,
...
being the first client is enough. GitHub issue 2438.
2020-10-28 10:09:10 +00:00
a34ceb1074
Merge branch 'obsd-master'
2020-09-22 08:01:18 +01:00
86d6ac2f06
Fix warnings on some platforms with %llx and add a new message to handle
...
64-bit client flags.
2020-09-22 05:23:34 +00:00
9f0973b711
Merge branch 'obsd-master'
2020-08-05 12:01:21 +01:00
df7fbcd7a5
Change searching to behave more like emacs and so that regex searching
...
doesn't overlap when searching forwards.
2020-08-05 09:11:09 +00:00
aa4f3a9b3d
Merge branch 'obsd-master'
2020-07-06 12:01:22 +01:00
66d5e5de7a
Add a way for control mode clients to subscribe to a format and be
...
notified of changes rather than having to poll. GitHub issue 2242.
2020-07-06 09:14:20 +00:00
6c437d45ac
Merge branch 'obsd-master'
2020-06-18 12:01:22 +01:00
2372b0fdc6
Add a flag to make a client wait for an empty line before exiting in
...
control mode to avoid stray commands ending up in the shell.
2020-06-18 08:34:22 +00:00
ea4425b9bd
Merge branch 'obsd-master'
2020-06-10 10:01:20 +01:00
23d79cfda8
Instead of a buffer size limit on each pane, set a limit of 300 seconds
...
of data for each client in control mode.
2020-06-10 07:27:10 +00:00
92c8cc17c3
Merge branch 'obsd-master'
2020-06-05 14:01:19 +01:00
d919fa1ed0
Change how panes are resized so that the code is clearer and if the pane
...
is resized multiple times during one event loop, it is forced to resize
at the end. Also don't zoom/unzoom in switch-client if the pane hasn't
changed. GitHub issue 2260.
2020-06-05 11:20:51 +00:00
a06cf900c7
Merge branch 'obsd-master'
2020-06-05 10:01:22 +01:00
c586208991
Add support for pausing a pane when the output buffered for a control
...
mode client gets too far behind. The pause-after flag with a time is set
on the pane with refresh-client -f and a paused pane may be resumed with
refresh-client -A. GitHub issue 2217.
2020-06-05 07:33:57 +00:00
31a51cae1d
Merge branch 'obsd-master'
2020-06-02 11:29:48 +01:00
f3931497f8
Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control
...
mode %output blocks.
2020-06-02 08:17:27 +00:00
8339702d47
Check the right thing for maximum client buffer size.
2020-06-01 20:58:42 +00:00
91e40de2da
Merge branch 'obsd-master'
2020-06-01 12:01:20 +01:00
a54a88edd6
Instead of sending all data to control mode clients as fast as possible,
...
add a limit of how much data will be sent to the client and try to use
it for panes with some degree of fairness. GitHub issue 2217, with
George Nachman.
2020-06-01 09:43:00 +00:00
a4cb700269
Merge branch 'obsd-master'
2020-05-26 14:02:15 +01:00
ea610a3119
Pass the stdout file descriptor from the client as well as stdin and use
...
them for control clients directly instead of passing everything via the
client.
2020-05-26 08:41:47 +00:00
e16191dbfc
Merge branch 'obsd-master'
2020-05-24 16:01:20 +01:00
14a9fd58d5
Remove leftover call to control_free_offsets and do not use for
...
non-control clients.
2020-05-24 14:45:00 +00:00
aeefd585a0
Merge branch 'obsd-master'
2020-05-24 12:01:21 +01:00
18aab90959
Give control code its own state struct.
2020-05-24 09:40:17 +00:00
6c82982711
Now the tty has a pointer back to the client there is no point (and a
...
bit confusing) in it keeping a copy of the fd as well. Remove it.
2020-05-24 09:13:06 +00:00
e71c5efd58
Merge branch 'obsd-master'
2020-05-22 18:01:20 +01:00
033d6472cb
FocusIn keys can also update the latest client, like normal keys.
2020-05-22 15:43:38 +00:00
d48f0e114e
Merge branch 'obsd-master'
2020-05-22 13:40:33 +01:00
9a0763c3a0
Move client offset stuff into control.c since only control clients will
...
need it.
2020-05-22 11:07:04 +00:00
40126ee96c
Merge branch 'obsd-master'
2020-05-21 08:55:31 +01:00
31e3f2d530
Support code for control mode flow control: allow clients to have
...
separate offsets (used and acknowleged) into the pane buffers; turn off
reading from panes when no clients can accept the data; and add a -A
flag to refresh-client to let clients turn receiving a pane on and off.
2020-05-21 07:24:13 +00:00