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
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
bbd1032a2a
Style and line length nits.
2019-09-25 19:05:59 +00:00
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
e8adcae0f2
Couple of bits of minor cleanup.
2019-09-24 15:52:14 +00:00
48c684cbc2
Mouse formats don't work in copy mode so don't try to use them.
2019-09-24 14:50:08 +00:00
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
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
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
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
1ee40307b5
Up and Down are already used, use < and > instead.
2019-09-18 15:09:05 +00:00
697f938355
Do not set uninitialized signal mask when creating an empty pane.
2019-09-18 11:37:58 +00:00
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
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
a23ce1b45f
Add window_marked_flag, GitHub issue 1887.
2019-09-11 06:43:17 +00:00
0feae4d8ae
Make client exit if pane where input is going is closed.
2019-09-10 19:35:34 +00:00
4b7e97ba53
Set up format tree for %if, GitHub issue 1896.
2019-09-10 07:50:33 +00:00
b6b7486423
Clarify server options slightly.
2019-09-09 11:47:25 +00:00
b31515fec3
Add cursor-down-and-cancel, from Mark Kelly.
2019-09-09 08:01:21 +00:00
7ce8135138
It is not longer necessary to double-escape ; in %%%, problem reported
...
by Theo Buehler.
2019-08-29 07:13:48 +00:00
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
39c55d5b6f
Fix swap-window -d to work as intended, GitHub issue 1879 from Sam Stuewe.
2019-08-26 16:35:41 +00:00
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
5644d37876
grid_view_delete_cells does need to clear, GitHub issue 1871.
2019-08-16 08:52:25 +00:00
21fae50089
Default to previous search string for search-forward and
...
search-backward, from Leah Neukirchen.
2019-08-14 10:02:24 +00:00
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
45f4ff5485
Add support for the SD (scroll down) escape sequence, GitHub issue 1861.
2019-08-05 06:42:02 +00:00
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
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
49bf7dc77e
xterm 348 now disables margins when resized, so send DECLRMM again.
2019-08-01 11:45:34 +00:00
2db5f9c215
Add -N to capture-pane to preserve trailing spaces, from Leon Winter.
2019-08-01 08:42:34 +00:00
58bbce09e2
Remove check for same size - size has already been changed so this
...
breaks reflow.
2019-08-01 07:08:13 +00:00
e698ee01dd
Reorder some text in the windows & panes section and add some better
...
explanation of modes.
2019-07-30 10:10:02 +00:00
8f40f791d9
Change "lost server" message to "server exited unexpectedly", from Neal
...
McBurnett in GitHub issue 1857.
2019-07-26 20:08:40 +00:00
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
bf6d1aeaa4
Add a few vi(1) key aliases, from D Ben Knoble.
2019-07-19 07:20:51 +00:00
df7b5292ab
More man page fixes from lacygoill at lacygoill dot me, GitHub issue
...
1805.
2019-07-19 07:18:03 +00:00
f6a9f6b4ad
Use the right client for if -b.
2019-07-17 17:49:23 +00:00
9e7774bb96
Clear overlay on normal key press.
2019-07-17 17:46:51 +00:00
99852f8401
Fix check for wrapping when redrawing entire lines, GitHub issue 1836.
2019-07-16 14:11:52 +00:00
b89f2f28bb
Fix grid clear code to correctly clear with the default background
...
colour rather than ending up with the used count higher than the total
size, GitHub issue 1829.
2019-07-16 10:30:56 +00:00
eac055bfaf
Simplify code to work out if an extra line is needed in the cell.
2019-07-15 18:43:32 +00:00
6ceeceab7a
Make layout_fix_offsets take a window like layout_fix_panes.
2019-07-15 18:25:07 +00:00
91b6145499
The command item changes so can't keep getting the target out of it, need to use
...
the one from the first item. Fixes crash reported by M Kelly.
2019-07-10 14:33:24 +00:00
f4d858e7a0
Add -F to refresh-client to specify flags for control clients - one flag
...
at the moment, no-output which turns off forwarding pane output. From
Thomas Adam. GitHub issue 1834.
2019-07-10 11:20:10 +00:00
fc2016dbb6
Add a -H flag to send-keys to send literal keys given as hex numbers
...
(needed for control clients to send mouse sequences). Also add some
format flags for UTF-8 and SGR mouse mode. Requested by Bradley Smith in
GitHub issues 1832 and 1833.
2019-07-09 14:03:12 +00:00
ad11d49d64
Do not leak empty lines, GitHub issue 1824.
2019-07-09 13:19:36 +00:00
b74b8be680
Add j and k for navigation in menus, GitHub issue 1828.
2019-07-09 12:44:47 +00:00
a4be028b76
Clear search marks before resize, GitHub issue 1823.
2019-07-08 20:29:11 +00:00
cbe781203f
Use the clear history function for the 3J sequence rather than doing it manually.
2019-07-08 11:38:14 +00:00