aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-10-30 10:01:22 +0000
committerThomas Adam <thomas@xteddy.org>2020-10-30 10:01:22 +0000
commit970e8f734c996e6a1402be1181c48abd14b6404a (patch)
treead8797fa0e081a6f46b7e9ee7a162b9144fe7361 /tmux.1
parentce2b6ff40e13fd25f359cfe3faad49b094aad115 (diff)
parent910457f68dfc04c491f31d773788c61300f3f8c7 (diff)
downloadrtmux-970e8f734c996e6a1402be1181c48abd14b6404a.tar.gz
rtmux-970e8f734c996e6a1402be1181c48abd14b6404a.tar.bz2
rtmux-970e8f734c996e6a1402be1181c48abd14b6404a.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 9 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index a7abcad6..b53c7f04 100644
--- a/tmux.1
+++ b/tmux.1
@@ -5331,6 +5331,7 @@ option.
This command works only from inside
.Nm .
.It Xo Ic display-menu
+.Op Fl O
.Op Fl c Ar target-client
.Op Fl t Ar target-pane
.Op Fl T Ar title
@@ -5382,8 +5383,14 @@ Both may be a row or column number, or one of the following special values:
Each menu consists of items followed by a key shortcut shown in brackets.
If the menu is too large to fit on the terminal, it is not displayed.
Pressing the key shortcut chooses the corresponding item.
-If the mouse is enabled and the menu is opened from a mouse key binding, releasing
-the mouse button with an item selected will choose that item.
+If the mouse is enabled and the menu is opened from a mouse key binding,
+releasing the mouse button with an item selected chooses that item and
+releasing the mouse button without an item selected closes the menu.
+.Fl O
+changes this behaviour so that the menu does not close when the mouse button is
+released without an item selected the menu is not closed and a mouse button
+must be clicked to choose an item.
+.Pp
The following keys are also available:
.Bl -column "Key" "Function" -offset indent
.It Sy "Key" Ta Sy "Function"