nicm
5a501a8ae2
Pass keys that aren't 0-9 on to normal key processing when display-panes
...
is active (restores previous behaviour).
2019-06-27 15:49:43 +01:00
nicm
797042584e
Handle comments more correctly inside {}, from Avi Halachmi.
2019-06-18 19:43:13 +01:00
Nicholas Marriott
748633c887
Remove a stray abort.
2019-06-15 07:45:41 +01:00
Nicholas Marriott
08f55414e1
Remove cmd-list.c line in master.
2019-06-15 07:42:49 +01:00
nicm
9ae658983c
Do not loop forever if a menu item contains invisible characters,
...
reported by Thomas Sattler.
2019-06-15 07:37:44 +01:00
Nicholas Marriott
c22470bd14
3.0-rc3.
2019-06-14 16:17:34 +01:00
Nicholas Marriott
31cb95893e
#{ is no longer special.
2019-06-14 16:10:27 +01:00
nicm
52b8274285
Do not crash if the environment variable is present but empty.
2019-06-14 16:06:12 +01:00
nicm
a924694820
Use the right client when working out where to save or load the buffer,
...
reported by kn@.
2019-06-14 16:04:57 +01:00
nicm
0a94dbe051
A couple of minor parser changes around conditions: 1) only treat #{
...
specially after a condition, otherwise as a comment (which is more as
most people expect) 2) allow formats to be quoted after a condition.
2019-06-14 16:04:52 +01:00
Nicholas Marriott
ebc9dcb3bb
Add a bit to {}.
2019-06-14 12:40:35 +01:00
Nicholas Marriott
f31847db62
Improve description of #{.
2019-06-14 10:33:55 +01:00
nicm
e337c1ba7d
Do not try to parse command when unsetting, GitHub issue 1788.
2019-06-11 15:51:30 +01:00
nicm
db5a7c1740
Need to increment the argument to skip the prefix earlier, fixes
...
repeated incremental search in copy mode, reported by Kaushal Modi in
GitHub issue 1780.
2019-06-05 21:06:06 +01:00
Nicholas Marriott
53914e50b9
RC2.
2019-06-05 15:09:42 +01:00
Nicholas Marriott
e252984993
If only one of -x or -y is given, use the calculated size for the
...
other. Also fix some warnings. Pointed out by Ben Boeckel.
2019-06-05 06:44:08 +01:00
nicm
17bc11bd15
yacc(1) copies its union so it is not a good place to store
...
TAILQ_HEADs. Allocate them instead. Found from a problem reported by
sthen@.
2019-06-02 10:52:32 +01:00
nicm
1a3a973bd0
Allow % strings that are all numbers or %s, and fix a double free. Both
...
reported by George Nachman, GitHub issues 1765 and 1766.
2019-05-31 15:18:25 +01:00
nicm
e4eec92852
No longer need to reduce line number by one.
2019-05-30 13:12:35 +01:00
nicm
75d112c484
The line number needs to be updated only after the \n is processed by
...
the parser, so store a flag and update it next time around. Also each
new line needs its own shared data.
2019-05-29 23:04:22 +01:00
Nicholas Marriott
a05c3a7aa6
Add command order test.
2019-05-29 20:43:11 +01:00
Nicholas Marriott
47795d1695
Update .travis.yml from master.
2019-05-29 14:40:41 +01:00
Nicholas Marriott
7cdb1cfc8d
as -> and.
2019-05-29 12:13:46 +01:00
Nicholas Marriott
8827b7f9a6
Tweak {} text.
2019-05-29 11:25:07 +01:00
nicm
7eeb479705
Do not read past the end of the argument string if it is empty.
2019-05-28 21:04:41 +01:00
nicm
8d137233a9
Redraw status line if size changes, GitHub issue 1762. Also fix length
...
of target buffer when pasting into status line.
2019-05-28 21:04:35 +01:00
Nicholas Marriott
05d07413ff
3.0-rc.
2019-05-28 15:46:17 +01:00
Thomas Adam
b8360504f3
Merge branch 'obsd-master'
2019-05-28 15:02:26 +01:00
Nicholas Marriott
a062650d4b
Tweak menu option.
2019-05-28 14:49:50 +01:00
Nicholas Marriott
f012db9be9
Add regress for conf files.
2019-05-28 13:21:19 +01:00
nicm
299d4f3aaa
Exit 1 correctly if source-file fails.
2019-05-28 12:20:28 +00:00
Thomas Adam
eba6cf61c9
Merge branch 'obsd-master'
2019-05-28 13:02:27 +01:00
nicm
0ec410689c
Allow source-file to take multiple arguments.
2019-05-28 11:46:30 +00:00
nicm
e0fd295054
Change the default right click pane to open the menu if not in a mode
...
and no application mouse.
2019-05-28 10:27:11 +00:00
nicm
99a8469ee4
Add key bindings to open the window and pane menus (C-m and M-m for now).
2019-05-28 10:05:24 +00:00
nicm
12255411f2
Allow menu items to be disabled by putting a - at the start of their
...
name, rather than just including #[dim] which still allowed them to be
chosen.
2019-05-28 09:50:54 +00:00
Thomas Adam
c0116b2c5b
Merge branch 'obsd-master'
2019-05-28 09:02:26 +01:00
nicm
799a154b91
Change display-menu from taking a single string to a set of arguments,
...
which is much easier to work with. Based on a diff from Avi Halachmi.
2019-05-28 07:18:42 +00:00
Thomas Adam
793f4d89d6
Merge branch 'obsd-master'
2019-05-27 19:02:25 +01:00
nicm
90cd045cf3
Clarify newlines inside {} a little.
2019-05-27 16:22:32 +00:00
nicm
94f6488f0e
Go less crazy with horizontal separators on default menus.
2019-05-27 15:29:46 +00:00
Thomas Adam
d4bf4bd7c7
Merge branch 'obsd-master'
2019-05-27 15:02:28 +01:00
Nicholas Marriott
522d1bd309
Add.
2019-05-27 14:39:44 +01:00
Nicholas Marriott
a21de4c483
Mention <><=>=.
2019-05-27 14:39:06 +01:00
Nicholas Marriott
714311a696
Add {}.
2019-05-27 14:37:47 +01:00
Nicholas Marriott
9f0904ce6f
Remove unused fparseln compat code.
2019-05-27 14:28:05 +01:00
nicm
ae3eba6e08
Fix crash when killing the current window, reported by Jesus Rafael
...
Sanchez in GitHub issue 1760.
2019-05-27 12:48:52 +00:00
nicm
6b332127ca
Add an additional {} syntax for defining strings in the configuration
...
file, making it much tidier to define commands that contain other tmux
or shell commands (like if-shell). Also tweak bind-key to expect a
string if it is only given one argument, so {} can be used with it as
well. From Avi Halachmi.
2019-05-27 12:16:27 +00:00
Thomas Adam
bd40d704e2
Merge branch 'obsd-master'
2019-05-27 09:02:26 +01:00
nicm
65e5e14561
Fix the intended ordering of items in buffer mode - it should not always
...
be tag 0 when the tree is empty. GitHub issue 1759.
2019-05-27 06:50:04 +00:00