diff options
-rw-r--r-- | cmd-set-option.c | 4 | ||||
-rw-r--r-- | tmux.1 | 4 |
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)); @@ -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 |