88ee5b1a73
Pass correct value into iterator callback for time formats.
2019-12-26 14:48:29 +00:00
817d199cbb
Add a number of new formats to inspect what sessions and clients a
...
window is present or active in. From Tyler Culp in GitHub issue 2034.
2019-12-26 11:04:58 +00:00
07e37479c2
Fix name of option, GitHub issue 2030.
2019-12-24 09:57:11 +00:00
5cd00eda0b
Restore source-file -q behaviour, broken in r1.42; OK nicm@
2019-12-21 17:30:48 +00:00
1764f66b7d
When adding a list with multiple commands to the queue, the next item to
...
insert after needs to be the last one added, not the first. Reported by
Jason Kim in GitHub issue 2023.
2019-12-19 09:22:33 +00:00
ef54a08080
Do not rely on errno after glob(3) fails.
2019-12-18 07:48:56 +00:00
f8cb759bdb
Use the message that has already been built rather than the va_list.
2019-12-17 11:43:23 +00:00
1bdd4828bd
If /dev/fd/X is a symlink and realpath() expands symlinks, /dev/fd/X
...
ends up pointing to the wrong place before it is passed to the client.
The path is only used internally so there is no real need for
realpath(), remove it and move the get_path function to file.c where all
the callers are.
2019-12-16 16:39:03 +00:00
b4520aaf2c
Need to include message size in the maximum buffer calculation.
2019-12-16 16:09:28 +00:00
eaa58d28dc
Instead of using large buffers in imsgs, add the data or path onto the end.
2019-12-16 15:48:50 +00:00
21f9b39f06
Show UTF-8 in choose-buffer mode. From KOIE Hidetaka.
2019-12-13 09:15:13 +00:00
6ce943f4d9
Need to check in the error callback also.
2019-12-13 07:00:22 +00:00
828001ecc5
Do not spin waiting for exit, instead check in the write callback.
2019-12-13 06:55:12 +00:00
dcf41ec927
Do not crash in tree modes if the pane is only 1 in width, reported by
...
KOIE Hidetaka in GitHub issue 2015.
2019-12-12 15:03:13 +00:00
2b2b193791
Add function to the right file.
2019-12-12 15:01:54 +00:00
5134666702
Change source-file to use new file code which allows it to read from
...
stdin.
2019-12-12 12:49:36 +00:00
268f2b047a
Do not check if client is dead if it is NULL.
2019-12-12 11:51:32 +00:00
c284ebe0ad
Rewrite the code for reading and writing files. Now, if the client is
...
not attached, the server process asks it to open the file, similar to
how works for stdin, stdout, stderr. This makes special files like
/dev/fd/X work (used by some shells). stdin, stdout and stderr and
control mode are now just special cases of the same mechanism. This will
also make it easier to use for other commands that read files such as
source-file.
2019-12-12 11:39:56 +00:00
64fb7e472a
Tweak previous to check the wrapped flag and stop if not set.
2019-12-11 18:30:29 +00:00
ab630f72ed
Allow search across wrapped lines and fix some inconsistencies in how th
...
position is represented, GitHub issue 2014 from Anindya Mukherjee.
2019-12-11 18:23:34 +00:00
f733d3f3eb
Do not set cursor colour to default unless it has been changed, GitHub
...
issue 2013.
2019-12-11 12:13:37 +00:00
55eb3e4773
Make TMUX_CONF a list of files and expand leading $FOO or ~.
2019-12-10 14:22:15 +00:00
7826d40ff9
Style nits in function arguments.
2019-12-03 10:47:22 +00:00
ec1b8e5f05
Remove client menu, I don't think it adds anything.
2019-12-02 19:25:52 +00:00
67d995d100
If a window appears in only one attached session, there is no point in
...
worrying about which is the latest client (there is only one).
2019-11-29 16:04:07 +00:00
c5d74b1deb
Do not crash when a format doesn't exist, reported by Thomas Sattler.
2019-11-28 21:18:38 +00:00
fa409194d3
Missing after-kill-pane option.
2019-11-28 10:55:45 +00:00
08e2828592
Parse out DA features.
2019-11-28 10:17:22 +00:00
bc5881c4d2
Long lines and spacing fixes.
2019-11-28 09:56:25 +00:00
c416fe0da4
Add xrecallocarray.
2019-11-28 09:51:58 +00:00
9ea05b2fb3
Bump the escape sequence timeout to five seconds to allow for longer
...
legitimate sequences.
2019-11-28 09:50:09 +00:00
2349b1dbef
Make a best effort to set xpixel and ypixel for each pane and add
...
formats for them.
2019-11-28 09:45:15 +00:00
067604bf8c
Store xpixel/ypixel from TIOCGWINSZ and add formats.
2019-11-28 09:05:34 +00:00
7fb8eec8f1
status-left and status-right need push-default also, reported by Eric
...
Pruitt in GitHub issue 1989.
2019-11-28 08:38:04 +00:00
eb4d60b1ce
REG_STARTEND is not portable, but it turns out we don't actually need
...
it. From Evan Green, GitHub issue 1982.
2019-11-27 20:54:30 +00:00
fef8ee23c0
Add default # and * binding with vi(1) keys.
2019-11-26 15:35:56 +00:00
58f870ef6e
Don't use motion flag uninitialized.
2019-11-25 22:38:36 +00:00
87a11a9214
Fix a warning in previous.
2019-11-25 20:43:32 +00:00
c2fde58701
Do not clear search marks on cursor movement with vi(1) keys, from Eric
...
Pruitt in GitHub issue 1985.
2019-11-25 20:42:18 +00:00
1ebd8c1234
Add p format modifier for padding to width.
2019-11-25 15:04:15 +00:00
5d0504ee11
Allow multiple substitutions in a single format.
2019-11-25 15:02:48 +00:00
20c1f1aec6
Only substitute patterns starting with ^ once.
2019-11-24 18:37:23 +00:00
3c312a9150
Do not check the client readonly flag when there is no client, GitHub issue 1980.
2019-11-20 11:42:51 +00:00
350a434939
Add -f for full size to join-pane (like split-window), from Theo Buehler.
2019-11-18 09:43:31 +00:00
4bc445f080
Keep modifiers on backspace when translating it.
2019-11-18 09:42:09 +00:00
5dfe9db788
Do not add path if it is NULL, duh.
2019-11-15 11:21:32 +00:00
f3dc38dcae
Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).
2019-11-15 11:16:53 +00:00
1f966c495c
Change window-size default from smallest to latest.
2019-11-14 16:23:23 +00:00
16b7719418
Fix parsing of DA with only one argument in the response and add 65 for VT520.
2019-11-14 15:37:19 +00:00
2dbf062a89
Change new-session -A without a session name (that is, no -s option
...
also) to attach to the best existing session like attach-session rather
than creating a new one.
2019-11-14 08:00:30 +00:00