2301bee87d
Merge branch 'obsd-master' into master
2021-03-02 12:01:25 +00:00
c44750792a
Drop support for popups where the content is provided directly to tmux
...
(which does not have many practical uses) and only support running a
program in the popup. display-popup is now simpler and can accept
multiple arguments to avoid escaping problems (like the other commands).
2021-03-02 10:56:45 +00:00
0cd5ed9e9b
Merge branch 'obsd-master' into master
2021-02-22 10:01:22 +00:00
6876381276
Move config file path expansion much earlier, keep the list of paths
...
around rather than freeing later, and add a config_files format variable
containing it. Suggested by kn@ a while back.
2021-02-22 08:18:13 +00:00
cb7e6698f3
Merge branch 'obsd-master' into master
2021-02-22 08:01:22 +00:00
e858270006
There are many format variables now so allocating all the default ones
...
each time a tree is created is too expensive. Instead, convert them all
into callbacks and put them in a static table so they only allocate on
demand. The tree remains for the moment for extra (non-default)
variables added by for example copy mode or popups. Also reduce
expensive calls to localtime_r/strftime. GitHub issue 2253.
2021-02-22 07:09:06 +00:00
8986c8dfcd
Move jump commands to grid reader, make them UTF-8 aware, and tidy up,
...
from Anindya Mukherjee.
2021-02-22 06:53:04 +00:00
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
6642706f7b
Support X11 colour names and some other variations for OSC 10/11, also
...
add OSC 110 and 111. GitHub issue 2567.
2021-02-15 09:39:37 +00:00
2b58c226db
Add a couple of helper functions, and flush imsgs on exit.
2021-02-11 09:39:29 +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
39904f7fc6
Merge branch 'obsd-master' into master
2021-02-05 14:01:23 +00:00
3dddc11603
Send Unicode directional isolate characters around horizontal pane
...
borders if the terminal support UTF-8 and an extension terminfo(5)
capability "Bidi" is present. On terminals with BiDi support (ie, VTE)
this seems to be enough to display right-to-left text acceptably enough
to be usable (with some caveats about the mouse position). Requested by
and with help from Mahmoud Elagdar in GitHub issue 2425.
2021-02-05 12:29:18 +00:00
545a610c6b
Merge branch 'obsd-master' into master
2021-01-29 12:01:21 +00:00
255802d8d7
Trim output overwritten by later text or clears completely rather than
...
only in a few cases. This means we can better track when a line should
wrap. GitHub issue 2537.
2021-01-29 09:48:43 +00:00
9ff017e908
Merge branch 'obsd-master' into master
2021-01-20 08:01:22 +00:00
fb774b77d0
Change so that window_flags escapes # automatically which means configs
...
will not have to change. A new format window_raw_flags contains the old
unescaped version.
2021-01-20 07:16:54 +00:00
66da51b631
Merge branch 'obsd-master' into master
2021-01-18 12:01:22 +00:00
91d112bf12
There is no need to clear every line entirely before drawing to it, this
...
means moving the cursor and messes up wrapping. Better to just clear the
sections that aren't written over. GitHub issue 2537.
2021-01-18 10:27:54 +00:00
24c15eda79
Merge branch 'obsd-master' into master
2021-01-17 18:01:21 +00:00
a3011be0d2
Look for libevent2 differently from libevent for platforms with both.
2021-01-17 17:21:51 +00:00
71c590a37f
Add -N flag to never start server even if command would normally do so,
...
GitHub issue 2523.
2021-01-17 16:17:41 +00:00
dc1e1125a5
Merge branch 'obsd-master' into master
2021-01-08 12:01:21 +00:00
a75aca4d6a
Missed from last commit.
2021-01-08 10:09:44 +00:00
70a0eb3a22
Merge branch 'obsd-master' into master
2020-12-24 22:21:21 +00:00
c43f2dce1b
Break cursor movement in grid into a common set of functions that can
...
handle line wrapping and so on in one place and use them for the obvious
copy mode commands. From Anindya Mukherjee.
2020-12-22 09:22:14 +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
970e8f734c
Merge branch 'obsd-master'
2020-10-30 10:01:22 +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
f5b7ebc540
Merge branch 'obsd-master'
2020-10-05 12:01:23 +01:00
c8f3736b07
Use the setal capability as well as (tmux's) Setulc.
2020-10-05 09:53:01 +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
fc9ecdc665
Merge branch 'obsd-master'
2020-09-02 16:01:20 +01:00
37b1600d9c
Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.
...
GitHub issue 2363.
2020-09-02 13:46:35 +00:00
655134f77c
Merge branch 'obsd-master'
2020-08-25 14:01:19 +01:00
20fcdcfea1
Allow colour to be spelt as color, from Boris Verkhovsky. GitHub issue
...
2317.
2020-08-25 11:35:32 +00:00
2fdd5fa507
Merge branch 'obsd-master'
2020-07-27 10:01:21 +01:00
40e65c5115
Add a -d option to display-message to set delay, from theonekeyg at
...
gmail dot com in GitHub issue 2322.
2020-07-27 08:03:10 +00:00
90de0c1a9b
Merge branch 'obsd-master'
2020-07-21 08:01:19 +01:00
743ab5728d
Fix show-buffer when run from inside tmux, GitHub issue 2314.
2020-07-21 05:24:33 +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
c0d9eaff9b
Merge branch 'obsd-master'
2020-07-04 16:01:20 +01:00
1e42689661
kill-window -a cannot just walk the list of windows because if
...
renumber-windows is on, the window it wants to keep could be moved.
Change to renumber afterwards and also behave better if the window is
linked into the session twice. GitHub issue 2287.
2020-07-04 14:24:02 +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