aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd-set-option.c4
-rw-r--r--tmux.14
2 files changed, 5 insertions, 3 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index d1ec6fcf..bdc42cae 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -192,7 +192,9 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
if (o == NULL)
goto out;
if (idx == -1) {
- if (oo == global_options ||
+ if (*name == '@')
+ options_remove(o);
+ else if (oo == global_options ||
oo == global_s_options ||
oo == global_w_options)
options_default(oo, options_table_entry(o));
diff --git a/tmux.1 b/tmux.1
index 250b3f24..78932d2e 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3467,8 +3467,8 @@ The following mouse events are available:
.It Li "MouseDown1" Ta "MouseUp1" Ta "MouseDrag1" Ta "MouseDragEnd1"
.It Li "MouseDown2" Ta "MouseUp2" Ta "MouseDrag2" Ta "MouseDragEnd2"
.It Li "MouseDown3" Ta "MouseUp3" Ta "MouseDrag3" Ta "MouseDragEnd3"
-.It Li "DoubleClick1" Ta "DoubleClick2" Ta "DoubleClick3" Ta "WheelUp"
-.It Li "TripleClick1" Ta "TripleClick2" Ta "TripleClick3" Ta "WheelDown"
+.It Li "DoubleClick1" Ta "DoubleClick2" Ta "DoubleClick3"
+.It Li "TripleClick1" Ta "TripleClick2" Ta "TripleClick3"
.El
.Pp
Each should be suffixed with a location, for example