Commit Graph

127 Commits

Author SHA1 Message Date
b4f8340f16 Merge branch 'obsd-master' 2025-04-22 16:01:12 +01:00
b905039ed2 Improve #? conditional expression in formats:
1) add support for else if, so
   #{?cond1,value1,#{?cond2,value2,else-value}} can be changed to
   #{?cond1,value1,cond2,value2,else-value};

2) add default empty string if there's no else value, so
   #{?cond1,value1,} can be changed to #{?cond1,value1}.

From David Mandelberg in GitHub issue 4451.
2025-04-22 12:23:26 +00:00
2905395695 Merge branch 'obsd-master' 2025-04-02 12:01:13 +01:00
4bf38da4d4 Only align panes and windows, not sessions, from David Mandelberg in
GitHub issue 4444.
2025-04-02 09:31:00 +00:00
9e1f110db0 Merge branch 'obsd-master' 2025-03-24 22:01:11 +00:00
34a35b0f09 Expand formats with the pane modifier in tree mode so that #() doesn't
always use the same value. From Michael Grant in GitHub issues 4412 and
4420.
2025-03-24 20:13:03 +00:00
c3c4524def Merge branch 'obsd-master' 2025-03-21 16:01:11 +00:00
a541be3951 Add S-Up and S-Down to move windows in tree mode. From David Mandelberg
in GitHub issue 4415.
2025-03-21 13:36:42 +00:00
e486f5ffdc Merge branch 'obsd-master' 2024-10-04 22:01:09 +01:00
5a68730e2f Add -y flag to disable confirmation prompts in modes, GitHub issue 4152. 2024-10-04 19:16:13 +00:00
9cf58d1a52 Merge branch 'obsd-master' 2023-07-01 02:01:10 +01:00
a2a02fd7d7 Change a few types to fix warnings, from Thomas Klausner. 2023-06-30 21:55:08 +00:00
57fec74966 Merge branch 'obsd-master' 2022-07-04 12:01:10 +01:00
9360e0ef32 Sort panes by index not by ID, GitHub issue 3249. 2022-07-04 08:39:45 +00:00
0a8f356c72 Spacing/style nits. 2022-05-30 12:55:25 +00:00
3a6d82b7c8 Some style nits. 2022-04-06 16:39:46 +01:00
1bf2f811ea Merge branch 'obsd-master' into master 2021-10-20 14:01:15 +01:00
8a9bfd0cdd Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941. 2021-10-20 09:50:40 +00:00
264fe7fc2a Merge branch 'obsd-master' into master 2021-10-14 16:01:20 +01:00
add20637f2 Add popup-border-lines option to set popup line style, from Alexis
Hildebrandt, GitHub issue 2930.
2021-10-14 13:19:01 +00:00
fb23df679b Merge branch 'obsd-master' into master 2021-10-13 14:01:16 +01:00
837ca176d1 Add popup-style and popup-border-style options, from Alexis Hildebrandt
in GitHub issue 2927.
2021-10-13 09:28:36 +00:00
b0da0cee4d Merge branch 'obsd-master' into master 2021-08-20 22:01:46 +01:00
5f32b7d961 Hide struct args behind a couple of accessor functions. 2021-08-20 19:50:16 +00:00
866117636e Add different command historys for different types of prompts
("command", "search" etc). From Anindya Mukherjee.
2021-06-10 07:50:03 +00:00
c03b57465b Add different command historys for different types of prompts ("command",
"search" etc). From Anindya Mukherjee.
2021-05-03 07:39:32 +01:00
83cd593b9c Merge branch 'obsd-master' into master 2021-04-12 10:01:27 +01:00
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
e288ea153c Merge branch 'obsd-master' into master 2020-12-03 08:01:22 +00:00
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
ab8d685302 Merge branch 'obsd-master' 2020-07-15 14:01:18 +01:00
5e008eefaa Renumber after killing windows for choose-tree. 2020-07-15 11:03:17 +00:00
c0d9eaff9b Merge branch 'obsd-master' 2020-07-04 16:01:20 +01:00
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
c914abfa19 Expand target from client and use it to expand the prompt. 2020-05-16 16:16:07 +00:00
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
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
12eceaf2b3 Expand target from client and use it to expand the prompt. 2020-05-14 10:35:26 +01:00
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
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
cf5f93b2b3 Merge branch 'obsd-master' 2020-04-23 02:01:33 +01:00
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
b117c3b812 Merge branch 'obsd-master' 2020-04-13 10:30:00 +01:00
a1fc8f8b23 More style nits. 2020-04-09 15:35:27 +00:00
9894e50c42 Merge branch 'obsd-master' 2020-03-20 18:01:25 +00:00
7bbca49395 Fix positioning of menu in choose modes and a couple of keys in tree mode. 2020-03-20 17:26:14 +00:00
ed16f51e26 Merge branch 'obsd-master' 2020-01-08 08:01:24 +00:00
6628e542b5 Add -Z to default switch-client command in tree mode, matches previous
behaviour.
2020-01-08 06:38:55 +00:00
875139f5fa Merge branch 'obsd-master' 2019-12-03 12:01:26 +00:00
7826d40ff9 Style nits in function arguments. 2019-12-03 10:47:22 +00:00