nicm
bad95db878
Limit lazy resize to panes in attached sessions only - those in
...
unattached are likely to have been resized by something like
split-window where the user probably wants the resize to happen
immediately. GitHub issue 1963.
2019-11-01 20:26:21 +00:00
nicm
d9c95c900c
Handle the various different forms of rgb colour strings.
2019-11-01 09:09:53 +00:00
nicm
ccdebead79
Start with empty rather than NULL window name to avoid NULL printf if
...
window_name is evaluated early. Reported by Mikolaj Kucharski.
2019-10-28 09:07:59 +00:00
nicm
6700018ce5
Document Any key, from Jason Felice.
2019-10-23 14:10:13 +00:00
nicm
f7fb5df543
Use the existing code in format.c to add foramts for word and line at
...
cursor position in copy mode, from Anindya Mukherjee.
2019-10-23 07:42:05 +00:00
nicm
56e5067c46
Add formats for cursor and selection position in copy mode, from Jason Felice.
2019-10-19 19:20:14 +00:00
nicm
2cb268d51b
Do not crash trying to fix layout size if only one cell, from Azat Khuzhin.
2019-10-19 12:40:42 +00:00
nicm
9fd62efcf0
Rewrite options_array_set to be clearer and remove a spurious warning
...
with newer GCC. From Ben Boeckel.
2019-10-15 08:30:36 +00:00
nicm
0c5e9c6efa
Add support for percentage sizes for resize-pane ("-x 10%"). Also change
...
split-window and join-pane -l to accept similar percentages and
deprecate -p. From Anindya Mukherjee.
2019-10-15 08:25:37 +00:00
nicm
b598bbcc2e
Do not crash with pane_current_command if the pane is newly created and
...
has no shell set, from Thomas Adam.
2019-10-14 09:24:06 +00:00
nicm
f18cd5b19c
Turn automatic-rename back on if the rename escape sequence is used with
...
an empty name, GitHub issue 1921.
2019-10-14 09:19:40 +00:00
nicm
bbe8ebf9c2
Some old tmux versions can sometimes generate layout strings which have
...
the incorrect size for the top cell. Previously tmux didn't care but now
that panes can be partly hidden, the size matters and is checked more
strictly. So add some code to fix up the most common problem and a
sanity check to reject layouts with any other size problems. Reported by
Aleksandrs Ledovskis in GitHub issue 1930.
2019-10-14 09:16:48 +00:00
nicm
68d59a16ce
Memory leaks, from Igor Wong in GitHub issue 1934.
2019-10-14 08:38:07 +00:00
nicm
4e2cc0ae2a
Fix respawn-pane/window if default-command is set, reported by Janos Barbero.
2019-10-07 07:14:07 +00:00
nicm
02253d1e5c
Use a malloc'd buffer for lsk since commands can be very long, from Gregory Pakosz.
2019-10-03 10:39:08 +00:00
nicm
f4c7141f5d
Do not lazily use BUFSIZ for "I don't care what size" when building
...
strings because it is only guaranteed to be 256 bytes and even the
default 1024 is not always enough. Reported by Gregory Pakosz.
2019-10-03 10:24:05 +00:00
nicm
bbd1032a2a
Style and line length nits.
2019-09-25 19:05:59 +00:00
nicm
e3359f8349
Some minor performance improvements - most notably, don't search the
...
input state table if the next character matches the same state as before.
2019-09-24 20:44:58 +00:00
nicm
e8adcae0f2
Couple of bits of minor cleanup.
2019-09-24 15:52:14 +00:00
nicm
48c684cbc2
Mouse formats don't work in copy mode so don't try to use them.
2019-09-24 14:50:08 +00:00
nicm
232050830b
Make select-pane -P set window-active-style also to match previous
...
behaviour, reported by Thomas Sattler.
2019-09-24 09:58:58 +00:00
nicm
77deef733b
Use the correct size for new windows when window-size is latest,
...
reported by Vamsi Krishna Avula in GitHub issue 1917.
2019-09-23 15:41:11 +00:00
nicm
647887b794
Add a "latest" window-size option which tries to size windows based on
...
the most recently used client. From Tommie Gannert in GitHub issue 1869
based on earlier changes from me.
2019-09-19 09:02:30 +00:00
nicm
d018477359
Do not use bright when emulating 256 colours on an 8 colour terminal
...
because it is also bold on some terminals. GitHub issue 1914.
2019-09-19 08:56:37 +00:00
nicm
1ee40307b5
Up and Down are already used, use < and > instead.
2019-09-18 15:09:05 +00:00
nicm
697f938355
Do not set uninitialized signal mask when creating an empty pane.
2019-09-18 11:37:58 +00:00
nicm
83be3afc54
Change menu key bindings to Up and Down and also close it on any mouse
...
press if opened by key.
2019-09-16 13:27:14 +00:00
nicm
63e07b245f
Add push-default and pop-default in styles to change the default colours
...
and attributes and use them to restore the previous behaviour of
window-status-style being the default for window-status-format in the
status line. From John Drouhard in GitHub issue 1912.
2019-09-15 21:42:57 +00:00
nicm
a23ce1b45f
Add window_marked_flag, GitHub issue 1887.
2019-09-11 06:43:17 +00:00
nicm
0feae4d8ae
Make client exit if pane where input is going is closed.
2019-09-10 19:35:34 +00:00
nicm
4b7e97ba53
Set up format tree for %if, GitHub issue 1896.
2019-09-10 07:50:33 +00:00
nicm
b6b7486423
Clarify server options slightly.
2019-09-09 11:47:25 +00:00
nicm
b31515fec3
Add cursor-down-and-cancel, from Mark Kelly.
2019-09-09 08:01:21 +00:00
nicm
7ce8135138
It is not longer necessary to double-escape ; in %%%, problem reported
...
by Theo Buehler.
2019-08-29 07:13:48 +00:00
nicm
df0334d3b3
The resize event was never deciding to actually resize the pane if there
...
was output in the pane faster than the timer would fire, so change how
it works to only defer the timer again if the pane was actually resized
within the last timer period. Reported by James Tai in GitHub issue
1880.
2019-08-28 07:34:32 +00:00
nicm
39c55d5b6f
Fix swap-window -d to work as intended, GitHub issue 1879 from Sam Stuewe.
2019-08-26 16:35:41 +00:00
nicm
37583f0a69
Add a flag to reverse sort in the various choose modes, from Benjamin
...
Poirier in GitHub issue 1875.
2019-08-16 11:49:12 +00:00
nicm
5644d37876
grid_view_delete_cells does need to clear, GitHub issue 1871.
2019-08-16 08:52:25 +00:00
nicm
21fae50089
Default to previous search string for search-forward and
...
search-backward, from Leah Neukirchen.
2019-08-14 10:02:24 +00:00
nicm
0f243f0388
Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
...
preserve zoomed state. GitHub issue 1839.
2019-08-14 09:58:31 +00:00
nicm
45f4ff5485
Add support for the SD (scroll down) escape sequence, GitHub issue 1861.
2019-08-05 06:42:02 +00:00
nicm
c4744620af
Correctly wrap search in copy mode even if at the very top left, GitHub
...
issue 1845.
2019-08-01 14:31:39 +00:00
nicm
3d660b0023
Select the correct word for select-word when already at the start of a
...
word, GitHub issue 1820.
2019-08-01 14:30:31 +00:00
nicm
49bf7dc77e
xterm 348 now disables margins when resized, so send DECLRMM again.
2019-08-01 11:45:34 +00:00
nicm
2db5f9c215
Add -N to capture-pane to preserve trailing spaces, from Leon Winter.
2019-08-01 08:42:34 +00:00
nicm
58bbce09e2
Remove check for same size - size has already been changed so this
...
breaks reflow.
2019-08-01 07:08:13 +00:00
nicm
e698ee01dd
Reorder some text in the windows & panes section and add some better
...
explanation of modes.
2019-07-30 10:10:02 +00:00
nicm
8f40f791d9
Change "lost server" message to "server exited unexpectedly", from Neal
...
McBurnett in GitHub issue 1857.
2019-07-26 20:08:40 +00:00
nicm
90dba3ec66
Mark pane status line jobs with FORMAT_STATUS also so it redraws when
...
they finish, GitHub issue 1852.
2019-07-24 21:16:17 +00:00
nicm
bf6d1aeaa4
Add a few vi(1) key aliases, from D Ben Knoble.
2019-07-19 07:20:51 +00:00