Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2026-07-05 15:01:36 +01:00
2 changed files with 4 additions and 1 deletions

View File

@@ -955,7 +955,7 @@ const struct options_table_entry options_table[] = {
{ .name = "mouse",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_SESSION,
.default_num = 0,
.default_num = TMUX_MOUSE,
.text = "Whether the mouse is recognised and mouse key bindings are "
"executed. "
"Applications inside panes can use the mouse even when 'off'."

3
tmux.h
View File

@@ -99,6 +99,9 @@ struct winlink;
#ifndef TMUX_LOCK_CMD
#define TMUX_LOCK_CMD "lock -np"
#endif
#ifndef TMUX_MOUSE
#define TMUX_MOUSE 0
#endif
/* Minimum and maximum layout cell size, NOT including border lines. */
#define PANE_MINIMUM 1