Thomas Adam
0b538b6f2a
Merge branch 'obsd-master'
2026-06-25 13:29:53 +01:00
nicm
51d037e881
Major rework of prompts. The basic prompt mechanics (draw, editing, etc)
...
are now wrapped up in prompt*.c and do not depend on a client. These
functions are used to provide the original client prompt but also to
allow panes to have their own prompts, which works much much better for
floating panes. The mode prompts for both the tree modes and copy mode
are switched over to be per pane.
There are some visible changes (some of these may be changed if they
don't seem to be working well):
- Prompts in modes now appear in the bottom line, covering whatever
content was there.
- command-prompt has a -P flag to open a pane prompt.
- Because they cover the content, the default style for prompts in modes
now does not fill the entire line; the main command prompt stays the
same.
- The old completion menu has gone, and completions are now shown after
the text. Builtin aliases are no longer completed.
- Clicking the mouse on the prompt now moves the cursor or selects a
completion.
2026-06-25 11:39:11 +00:00
Thomas Adam
ed48555bdd
Merge branch 'obsd-master'
2026-06-24 22:30:06 +01:00
nicm
ba9faae8b6
Free modes rather than going through reset when pane is destroyed as the
...
reset path may try to destroy the pane again.
2026-06-24 21:10:05 +00:00
Thomas Adam
a63e429d22
Merge branch 'obsd-master'
2026-06-23 13:00:09 +01:00
nicm
de086f9848
Fix an infinite loop in customize mode when a filter does not match, and
...
tweak a tmux.1 example.
2026-06-23 11:29:27 +00:00
Thomas Adam
6643acb375
Merge branch 'obsd-master'
2026-06-23 11:00:09 +01:00
nicm
9dba08ac8b
Allow -p more than 100%, and account for borders when sizing new panes.
...
From Dane Jensen.
2026-06-23 09:29:26 +00:00
Thomas Adam
52877c9af1
Merge branch 'obsd-master'
2026-06-23 07:35:51 +01:00
nicm
95afd7549c
Rewrite screen-redraw.c to make it tidier and more maintainable. A scene
...
is generated and cached in the client: it holds positions and sizes of
panes, borders and so on. The scene is invalidated when a pane is moved
or resized or relevant option is changed. This scene is then drawn to
the client as needed and text and colours are filled in. With Michael
Grant.
2026-06-22 08:47:45 +00:00
Thomas Adam
72e768ef14
Merge branch 'obsd-master'
2026-06-19 20:00:06 +01:00
nicm
d04b1ffca5
Use a floating pane for the buffer mode editor instead of a popup.
2026-06-19 18:37:10 +00:00
Thomas Adam
c6b8ad6e7e
Merge branch 'obsd-master'
2026-06-18 11:15:07 +01:00
nicm
d92a479d2f
Add a dim= style attribute to dim the colours (as best as tmux is able
...
to). GitHub issue 4842.
2026-06-18 09:59:55 +00:00
Thomas Adam
408e9f1481
Merge branch 'obsd-master'
2026-06-15 23:00:06 +01:00
nicm
482e254a49
Rename window_pane_visible to match other functions, from Dane Jensen.
2026-06-15 21:47:01 +00:00
nicm
eb65331403
Be more strict about what names and titles we allow and reject them
...
immediately when possible, but allow # again for those directly set by
commands (but not escape sequences). From Barrett Ruth in GitHub issue
5175.
2026-06-15 21:41:39 +00:00
Thomas Adam
9031f59f7b
Merge branch 'obsd-master'
2026-06-15 19:00:06 +01:00
nicm
b86bd1fcd0
Add pane-border-lines none like popups (-B to new-pane).
2026-06-15 17:34:25 +00:00
Thomas Adam
9fcd5ce03d
Merge branch 'obsd-master'
2026-06-15 10:30:05 +01:00
nicm
a41e6e2ed2
Add -B to new-pane to select the floating pane border.
2026-06-15 09:21:40 +00:00
Thomas Adam
e54855ef88
Merge branch 'obsd-master'
2026-06-15 09:30:05 +01:00
nicm
7a18fa281d
Add top-floating and bottom-floating to pane-border-status to show
...
status line only on floating panes.
2026-06-15 08:16:05 +00:00
Thomas Adam
fb527fa7db
Merge branch 'obsd-master'
2026-06-14 21:00:05 +01:00
nicm
87976aa48e
Add a helper to get pane-border-status for a window for some other
...
changes to come.
2026-06-14 19:31:37 +00:00
Thomas Adam
3d7f421809
Merge branch 'obsd-master'
2026-06-11 15:30:06 +01:00
nicm
fa6d33f742
Add a helper to free the list of pending resizes.
2026-06-11 14:19:59 +00:00
Thomas Adam
9231c80cd8
Merge branch 'obsd-master'
2026-06-10 17:15:07 +01:00
nicm
2719549cf2
Rename new-pane -B to -W since -B is best kept to match -B to
...
display-popup.
2026-06-10 16:03:14 +00:00
Thomas Adam
2179c3e420
Merge branch 'obsd-master'
2026-06-09 10:30:06 +01:00
nicm
d5c9196348
Add -B to new-pane/split-window to block until the command exits, like
...
run-shell -b.
2026-06-09 09:11:05 +00:00
Thomas Adam
97156f3382
Merge branch 'obsd-master'
2026-06-09 09:30:06 +01:00
nicm
27c58c764d
Do not use NULL arguments, bug spotted by Dane Jensen.
2026-06-09 08:11:53 +00:00
Thomas Adam
1564584ba9
Merge branch 'obsd-master'
2026-06-09 00:15:06 +01:00
nicm
fd10db5a62
Fix mouse events on tiled pane status line - when panes share a border,
...
prefer the pane for which the border is the status line. With Dane
Jensen.
2026-06-08 23:06:21 +00:00
Thomas Adam
7d8c1ae295
Merge branch 'obsd-master'
2026-06-08 22:00:07 +01:00
nicm
34fd261a4f
Add a -k flag to choose commands to kill the pane when the mode is
...
exited (useful with floating panes).
2026-06-08 20:38:54 +00:00
Thomas Adam
c97b2b95e6
Merge branch 'obsd-master'
2026-06-02 20:30:06 +01:00
nicm
a3bf632276
Move cell creation into layout.c, from Dane Jensen.
2026-06-02 19:25:06 +00:00
Thomas Adam
e89f02bd8f
Merge branch 'obsd-master'
2026-06-02 09:30:06 +01:00
nicm
ae6a749d3a
Move the PANE_FLOATING flag into the layout cell and add an accessor.
...
From Dane Jensen.
2026-06-02 08:13:50 +00:00
Thomas Adam
2f3ef88dbf
Merge branch 'obsd-master'
2026-06-01 21:15:06 +01:00
nicm
922f7d1645
Fix resize of floating panes with pane-border-status top, from Michael
...
Grant.
2026-06-01 19:59:04 +00:00
Thomas Adam
0eff3b6b97
Merge branch 'obsd-master'
2026-06-01 19:30:06 +01:00
nicm
f6557d1ea2
Add a Z sort order in tree mode.
2026-06-01 18:19:51 +00:00
Thomas Adam
b17dcc6773
Merge branch 'obsd-master'
2026-05-31 22:00:06 +01:00
nicm
e3ee2b327b
Move back to starting position when pane is outside the window at all.
2026-05-31 20:41:07 +00:00
Thomas Adam
a9b9d2f6d3
Merge branch 'obsd-master'
2026-05-27 21:00:08 +01:00
nicm
bbe26df83d
Add an accessor function needed for floating panes.
2026-05-27 19:36:04 +00:00
Thomas Adam
a77b81f0e5
Merge branch 'obsd-master'
2026-05-27 08:15:06 +01:00