jmc
5c48086e5c
article fixes; from eddie youseph
2021-02-02 07:33:29 +00:00
nicm
509221520c
Add a no-detached choice to detach-on-destroy which detaches only if
...
there are no other detached sessions to switch to, from Sencer Selcuk in
GitHub issue 2553.
2021-02-01 08:01:14 +00:00
nicm
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
nicm
8156d9ba41
Flush pending output before entering or exiting alternate screen rather
...
than leaking it, oss-fuzz issue 29959.
2021-01-27 10:42:52 +00:00
nicm
d6542c333d
Always resize the original screen before copying when exiting the
...
alternate screen, GitHub issue 2536.
2021-01-26 09:32:52 +00:00
nicm
9fcf413d87
Revert clear changes to writing as they don't work properly, better
...
change to come.
2021-01-22 11:28:33 +00:00
nicm
bba71f696f
Add rectangle-on and rectangle-off copy mode commands, GitHub isse 2546
...
from author at will dot party.
2021-01-22 10:24:52 +00:00
nicm
8d185395e4
Fix some cursor movement commands, from Anindya Mukherjee.
2021-01-22 10:21:24 +00:00
nicm
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
nicm
0730dce5ab
Hide some warnings on newer GCC versions, GitHUb issue 2525.
2021-01-18 11:14:23 +00:00
nicm
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
nicm
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
nicm
a75aca4d6a
Missed from last commit.
2021-01-08 10:09:44 +00:00
nicm
b96c5e3687
With incremental search, start empty and only repeat the previous search
...
if the user tries to search again with an empty prompt. This matches
emacs behaviour more closely.
2021-01-08 08:22:10 +00:00
nicm
199689954b
Insert joined pane before the target pane with -b, like for split. From
...
Takeshi Banse.
2021-01-06 07:32:23 +00:00
nicm
ccb8b9eb2a
Remove unused variable, from Ben Boeckel.
2021-01-06 07:29:49 +00:00
nicm
bd0fb22f0a
Add a variant of remain-on-exit that only keeps the pane if the program
...
failed, GitHub issue 2513.
2021-01-04 08:43:16 +00:00
nicm
606bd5f8c6
Add a -C flag to run-shell to use a tmux command rather than a shell command.
2021-01-01 08:36:51 +00:00
nicm
f97305af31
Use right format for session loop, GitHub issue 2519.
2020-12-30 18:29:40 +00:00
nicm
a98ee00dd9
Do not list user options with show-hooks.
2020-12-28 09:40:27 +00:00
nicm
c68baaad98
Remove current match indicator which can't work anymore since we only
...
search the visible region. From Anindya Mukherjee, GitHub issue 2508.
2020-12-28 09:36:26 +00:00
nicm
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
nicm
8bd29a30bf
Make synchronize-panes a pane option and add -U flag to set-option to
...
unset an option on all panes. GitHub issue 2491 from Rostislav Nesin.
2020-12-15 08:31:50 +00:00
nicm
f6095cad99
Do not include the status line size when working out the character for
...
the pane status line. GitHub issue 2493.
2020-12-07 09:46:58 +00:00
nicm
ed786309cc
Do not clear the wrapped flag on linefeeds if it is already set - this
...
does not appear to be what applications want. GitHub issue 2478 and 2414.
2020-12-07 09:23:57 +00:00
nicm
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
nicm
f0c1233d4f
Leave newlines inside multiline quotes.
2020-12-01 10:48:03 +00:00
nicm
9a74bba007
Make replacement of ##s consistent when drawing formats, whether
...
followed by [ or not. Add a flag (e) to the q: format modifier to double
up #s and use it for the window_flags format variable so it doesn't end
up escaping any following text. GitHub issue 2485.
2020-12-01 08:12:58 +00:00
nicm
33046ecee2
Ignore running command when checking for no-hooks flag if it is blocked.
...
GitHub issue 2483.
2020-11-30 13:37:45 +00:00
nicm
fd5c3e6122
Fix check for vertical centre.
2020-11-26 13:06:21 +00:00
nicm
76cfb5f471
Add -N flag to display-panes to ignore keys, GitHub issue 2473.
2020-11-26 09:19:10 +00:00
nicm
0d28ee9274
Log missing keys when extended keys is on rather than fatal().
2020-11-17 08:13:35 +00:00
nicm
bbab5b7a30
Allow previous-word to scroll onto the first line, noticed by Anindya
...
Mukherjee.
2020-11-10 08:16:52 +00:00
nicm
f1193b4891
If mouse bits change, clear them all and set again to avoid problems
...
with some bits implying others. GitHub issue 2458.
2020-11-09 10:54:28 +00:00
nicm
61e55fa50d
Change how escaping is processed for formats so that ## and # can be
...
used in styles. Also add a 'w' format modifier for the width. From Chas
J Owens IV in GitHub issue 2389.
2020-11-09 09:10:10 +00:00
nicm
1326529f99
Remove some old debug logging.
2020-11-09 08:42:43 +00:00
nicm
9d83c5e948
Expand menu and popup -x and -y as a format, from teo_paul1 at yahoo dot
...
com in GitHub issue 2442.
2020-11-03 08:09:35 +00:00
nicm
ac5045a00f
Add numeric comparisons for formats, from teo_paul1 at yahoo dot com in
...
GitHub issue 2442.
2020-11-02 08:21:30 +00:00
nicm
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
nicm
9726c4454e
Do not allow disabled items to be selected.
2020-10-30 12:00:01 +00:00
nicm
8e1d28453d
Limit range of repeat to avoid silly high numbers causing delays, from
...
Sergey Nizovtsev.
2020-10-30 11:34:13 +00:00
nicm
02197f20d0
Do not leak path when freeing screen, from Sergey Nizovtsev.
2020-10-30 11:33:41 +00:00
nicm
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
nicm
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
nicm
a868bacb46
Do not write after the end of the array and overwrite the stack when
...
colon-separated SGR sequences contain empty arguments. Reported by Sergey
Nizovtsev.
2020-10-29 16:33:01 +00:00
nicm
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
nicm
31ed29e551
SIGQUIT handler needs to be cleared before fork like the others,
...
reported by Simon Andersson.
2020-10-26 19:00:37 +00:00
nicm
d8cda9286f
Client could be NULL in select-window (for example in .tmux.conf), do
...
not set latest session if so. GitHub issue 2429 from Han Boetes.
2020-10-19 06:39:28 +00:00
nicm
4c8706d399
Fix note for "previous-window" default key binding, from Sebastian
...
Falbesoner.
2020-10-13 10:15:23 +00:00
nicm
d603dbdef0
Set RGB flag if capabilities are present, GitHub issue 2418.
2020-10-13 07:29:24 +00:00