Nicholas Marriott
c03b57465b
Add different command historys for different types of prompts ("command",
...
"search" etc). From Anindya Mukherjee.
2021-05-03 07:39:32 +01:00
Thomas Adam
83cd593b9c
Merge branch 'obsd-master' into master
2021-04-12 10:01:27 +01:00
nicm
cd208c9d72
Permit shortcut keys in buffer, client, tree modes to be configured with
...
a format; the default remains the line number. GitHub issue 2636.
2021-04-12 06:50:25 +00:00
Thomas Adam
e288ea153c
Merge branch 'obsd-master' into master
2020-12-03 08:01:22 +00:00
nicm
fd451aa796
Redraw any visible modes when status line changes so that formats like
...
the pane title are updated. GitHub issue 2487. Also a man page fix from
jmc.
2020-12-03 07:12:11 +00:00
Thomas Adam
ab8d685302
Merge branch 'obsd-master'
2020-07-15 14:01:18 +01:00
nicm
5e008eefaa
Renumber after killing windows for choose-tree.
2020-07-15 11:03:17 +00:00
Thomas Adam
c0d9eaff9b
Merge branch 'obsd-master'
2020-07-04 16:01:20 +01:00
nicm
1e42689661
kill-window -a cannot just walk the list of windows because if
...
renumber-windows is on, the window it wants to keep could be moved.
Change to renumber afterwards and also behave better if the window is
linked into the session twice. GitHub issue 2287.
2020-07-04 14:24:02 +00:00
nicm
c914abfa19
Expand target from client and use it to expand the prompt.
2020-05-16 16:16:07 +00:00
nicm
d67245c734
Add a customize mode where keys and options may be browsed and changed,
...
includes adding a brief description of each option. Bound to "C" by
default.
2020-05-16 16:02:24 +00:00
nicm
0dd1944206
Tweak the default choose modes formats:
...
- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the order.
2020-05-16 14:10:29 +00:00
Nicholas Marriott
12eceaf2b3
Expand target from client and use it to expand the prompt.
2020-05-14 10:35:26 +01:00
Nicholas Marriott
a61cbf1c33
Add a customize mode where options may be browsed and changed, includes adding
...
a brief description of each option. Bound to "C" by default.
2020-05-08 19:10:09 +01:00
Nicholas Marriott
106e5d07be
Tweak the default choose modes formats:
...
- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the order.
2020-04-23 06:30:15 +01:00
Thomas Adam
cf5f93b2b3
Merge branch 'obsd-master'
2020-04-23 02:01:33 +01:00
nicm
899b3d2436
Indicate the marked pane in choose mode in reverse and add key to set
...
and clear it (m and M) and a key to jump to the starting pane (H).
2020-04-22 21:01:28 +00:00
Thomas Adam
b117c3b812
Merge branch 'obsd-master'
2020-04-13 10:30:00 +01:00
nicm
a1fc8f8b23
More style nits.
2020-04-09 15:35:27 +00:00
Thomas Adam
9894e50c42
Merge branch 'obsd-master'
2020-03-20 18:01:25 +00:00
nicm
7bbca49395
Fix positioning of menu in choose modes and a couple of keys in tree mode.
2020-03-20 17:26:14 +00:00
Thomas Adam
ed16f51e26
Merge branch 'obsd-master'
2020-01-08 08:01:24 +00:00
nicm
6628e542b5
Add -Z to default switch-client command in tree mode, matches previous
...
behaviour.
2020-01-08 06:38:55 +00:00
Thomas Adam
875139f5fa
Merge branch 'obsd-master'
2019-12-03 12:01:26 +00:00
nicm
7826d40ff9
Style nits in function arguments.
2019-12-03 10:47:22 +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
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
Thomas Adam
2db9a18362
Merge branch 'obsd-master'
2019-08-16 17:02:29 +01: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
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
180bbab1fc
Merge branch 'obsd-master'
2019-05-12 11:02:25 +01:00
nicm
a131655235
Add simple menus to tree, client, buffer modes.
2019-05-12 08:58:09 +00:00
Thomas Adam
4c5b0fbbcc
Merge branch 'obsd-master'
2019-04-30 09:02:29 +01:00
nicm
82c789ee58
Fix memory leak in window tree search, from Amos Bird.
2019-04-30 06:19:51 +00:00
nicm
78287e27c8
Break new window and pane creation common code from various commands and
...
window.c into a separate file spawn.c.
2019-04-17 14:37:48 +00:00
Nicholas Marriott
5ece386cdf
Break new window and pane creation common code from various commands and
...
window.c into a separate file spawn.c.
2019-04-07 13:01:03 +01:00
Thomas Adam
4cbf596dc5
Merge branch 'obsd-master'
2019-03-18 15:30:55 +00:00
nicm
2628af573d
Add format variables for the default formats for the various modes
...
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
2019-03-18 14:10:25 +00:00
Thomas Adam
400529eea0
Merge branch 'obsd-master'
2019-03-12 22:02:42 +00:00
nicm
938156d73b
DECRC and DECSC apparently need to preserve origin mode as well, based
...
on a fix from Marc Reisner.
2019-03-12 20:02:47 +00:00
Thomas Adam
349aeb806a
Merge branch 'obsd-master'
2019-03-07 22:02:42 +00:00
nicm
f98c66ece8
Add a separate mode struct for the active window mode if any.
2019-03-07 20:24:21 +00:00
Thomas Adam
c9d482ab48
Merge branch 'obsd-master'
2018-12-18 14:02:40 +00:00
nicm
bde0224deb
Pass window into mode functions.
2018-12-18 13:20:44 +00:00
Thomas Adam
3310972d75
Merge branch 'obsd-master'
2018-08-19 21:02:37 +01:00
nicm
d95fad3d5f
Expand \u and \U escape sequences in command strings, from Christopher
...
Hunt in GitHub issue 1443.
2018-08-19 19:03:46 +00:00
Thomas Adam
1bd66b65a3
Merge branch 'obsd-master'
2018-04-10 13:02:28 +01:00