Add focus-follows-mouse option, from Barry Wasdell in GitHub issue 4771.

This commit is contained in:
nicm
2025-12-25 18:07:00 +00:00
parent b5c33ca2b7
commit f72832cc08
3 changed files with 27 additions and 3 deletions

View File

@@ -665,6 +665,13 @@ const struct options_table_entry options_table[] = {
.text = "Time for which status line messages should appear."
},
{ .name = "focus-follows-mouse",
.type = OPTIONS_TABLE_FLAG,
.scope = OPTIONS_TABLE_SESSION,
.default_num = 0,
.text = "Whether moving the mouse into a pane selects it."
},
{ .name = "history-limit",
.type = OPTIONS_TABLE_NUMBER,
.scope = OPTIONS_TABLE_SESSION,