Thomas Adam
b67fd8f472
Merge branch 'obsd-master'
2019-11-14 16:01:25 +00:00
nicm
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
Thomas Adam
518a687886
Merge branch 'obsd-master'
2019-11-14 10:01:29 +00:00
nicm
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
nicm
eb399e64d5
CUB and CUF are also limited by the margins so use CUP instead when
...
margins are enabled (we already do this for linefeed).
2019-11-14 07:56:32 +00:00
nicm
08b07b1a08
Add an option to set the key sent by backspace for those whose system
...
uses ^H rather than ^?. GitHub issue 1969.
2019-11-14 07:55:01 +00:00
Thomas Adam
eb215d3d3f
Merge branch 'obsd-master'
2019-11-07 08:01:26 +00:00
nicm
c225262e13
Add -F flag to send-keys to expand formats in search-backward and
...
forward copy mode commands, this makes it easier to use the cursor_word
and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
2019-11-07 07:11:25 +00:00
Thomas Adam
4408df1e8a
Merge branch 'obsd-master'
2019-11-01 22:01:24 +00:00
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
Thomas Adam
4fc8741794
Merge branch 'obsd-master'
2019-11-01 10:01:25 +00:00
nicm
d9c95c900c
Handle the various different forms of rgb colour strings.
2019-11-01 09:09:53 +00:00
Nicholas Marriott
a1006db91b
Create FUNDING.yml
2019-10-29 16:59:15 +00:00
Thomas Adam
57948a0dfc
Merge branch 'obsd-master'
2019-10-28 10:01:25 +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
Thomas Adam
4e5f80dc62
Merge branch 'obsd-master'
2019-10-23 16:01:25 +01:00
nicm
6700018ce5
Document Any key, from Jason Felice.
2019-10-23 14:10:13 +00:00
Thomas Adam
b5de0a20d8
Merge branch 'obsd-master'
2019-10-23 10:01:27 +01: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
Thomas Adam
004ee66227
Merge branch 'obsd-master'
2019-10-19 22:01:25 +01:00
nicm
56e5067c46
Add formats for cursor and selection position in copy mode, from Jason Felice.
2019-10-19 19:20:14 +00:00
Thomas Adam
1b96902d73
Merge branch 'obsd-master'
2019-10-19 16:01:24 +01: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
Thomas Adam
fb7ce5b5d5
Merge branch 'obsd-master'
2019-10-15 10:01:28 +01: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
Thomas Adam
eb57cbcc29
Merge branch 'obsd-master'
2019-10-14 12:01:26 +01: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
Thomas Adam
7323ffeef2
Merge branch 'obsd-master'
2019-10-07 10:01:24 +01:00
nicm
4e2cc0ae2a
Fix respawn-pane/window if default-command is set, reported by Janos Barbero.
2019-10-07 07:14:07 +00:00
Thomas Adam
341b330a04
Merge branch 'obsd-master'
2019-10-03 14:01:23 +01:00
Thomas Adam
eeedb43ae8
Merge branch 'obsd-master'
2019-10-03 12:01:25 +01: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
Thomas Adam
8cf21feefd
Merge branch 'obsd-master'
2019-09-25 22:01:24 +01:00
nicm
bbd1032a2a
Style and line length nits.
2019-09-25 19:05:59 +00:00
nicm
f0712a7569
Do not set uninitialized signal mask when creating an empty pane.
2019-09-25 15:56:53 +01:00
nicm
9d1cecea8e
Up and Down are already used, use < and > instead.
2019-09-25 15:56:39 +01:00
nicm
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
nicm
a74e37d32d
Mouse formats don't work in copy mode so don't try to use them.
2019-09-25 15:54:52 +01:00
Thomas Adam
d89510e1aa
Merge branch 'obsd-master'
2019-09-25 00:01:25 +01: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
Thomas Adam
2534aa4d2d
Merge branch 'obsd-master'
2019-09-24 18:01:24 +01: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
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
Thomas Adam
cb1a626692
Merge branch 'obsd-master'
2019-09-24 12:01:23 +01:00