Commit Graph

7914 Commits

Author SHA1 Message Date
5afe7eb850 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-11-27 20:48:03 +00:00
b2fd161b07 Do not crash trying to fix layout size if only one cell, from Azat Khuzhin. 2019-11-27 20:47:27 +00:00
bbcb199174 3.0 version. 2019-11-26 13:16:51 +00:00
47c0405b33 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-11-26 13:14:00 +00:00
f0712a7569 Do not set uninitialized signal mask when creating an empty pane. 2019-09-25 15:56:53 +01:00
9d1cecea8e Up and Down are already used, use < and > instead. 2019-09-25 15:56:39 +01:00
e6995196f2 Change menu key bindings to Up and Down and also close it on any mouse
press if opened by key.
2019-09-25 15:56:30 +01:00
a74e37d32d Mouse formats don't work in copy mode so don't try to use them. 2019-09-25 15:54:52 +01:00
6f8f4bb206 Make select-pane -P set window-active-style also to match previous
behaviour, reported by Thomas Sattler.
2019-09-24 12:20:25 +01:00
c739772436 3.0-rc5. 2019-09-16 09:01:56 +01:00
f27cac585c Add to CHANGES. 2019-09-16 09:00:56 +01:00
846d57e1b8 Make client exit if pane where input is going is closed. 2019-09-16 09:00:08 +01:00
54670d898f Missing headers from compat/asprintf.c, from cyyever at outlook dot com. 2019-09-16 08:59:57 +01:00
c45b255a88 It is not longer necessary to double-escape ; in %%%, problem reported
by Theo Buehler.
2019-09-16 08:59:49 +01:00
5e4f371408 Fix swap-window -d to work as intended, GitHub issue 1879 from Sam Stuewe. 2019-09-16 08:59:36 +01:00
7e4439beb7 Remove check for same size - size has already been changed so this
breaks reflow.
2019-09-16 08:58:35 +01:00
79f09b4d85 Add support for the SD (scroll down) escape sequence, GitHub issue 1861. 2019-08-26 17:28:24 +01:00
e85ea9f67d grid_view_delete_cells does need to clear, GitHub issue 1871. 2019-08-16 19:34:29 +01:00
26f2740110 xterm 348 now disables margins when resized, so send DECLRMM again. 2019-08-01 18:52:33 +01:00
b8b865fb17 Bump 3.0-rc up to master. 2019-07-29 10:53:04 +01:00
da552eb73b Merge branch 'master' into 3.0-rc 2019-07-29 10:51:30 +01:00
b90a9fcd13 Merge branch 'obsd-master' 2019-07-26 23:02:27 +01:00
e19622b8db Add to CHANGES. 2019-07-26 21:22:53 +01: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
bb9a123ddd Merge branch 'obsd-master' 2019-07-24 23:02:30 +01: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
47712fc113 Merge branch 'obsd-master' 2019-07-19 09:02:26 +01: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
7e7c8faa34 Merge branch 'obsd-master' 2019-07-17 21:02:26 +01: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
7c78ebce45 cc, make, libevent, ncurses are dependencies for all builds so no need to list
them for VCS build.
2019-07-17 08:57:22 +01:00
80b82c8d14 Mention dependencies earlier. 2019-07-17 08:56:10 +01:00
8e33cc61b1 Merge branch 'obsd-master' 2019-07-16 17:02:25 +01:00
99852f8401 Fix check for wrapping when redrawing entire lines, GitHub issue 1836. 2019-07-16 14:11:52 +00:00
b749a39cdb Merge branch 'obsd-master' 2019-07-16 13:02:24 +01: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
a786a59176 Merge branch 'obsd-master' 2019-07-15 21:02:26 +01: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
c9216493cf Merge branch 'obsd-master' 2019-07-10 17:02:25 +01: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
9cbbdb90bf Merge branch 'obsd-master' 2019-07-10 13:02:26 +01: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
98ef369b27 Merge branch 'obsd-master' 2019-07-09 17:02:26 +01: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
177599efb7 Merge branch 'obsd-master' 2019-07-09 15:02:25 +01: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