diff options
author | nicm <nicm> | 2021-11-01 09:34:49 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-11-01 09:34:49 +0000 |
commit | 8d2286b76917debc4f6c3b0903ad2807ae254bb5 (patch) | |
tree | 5eb3353a6ecebeb3defb4701f63b75cbcfd81a61 /options-table.c | |
parent | 4fe5aa99fb203ddb25089955d8814e1065e11a60 (diff) |
Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 6c57e3ff..d23f7d57 100644 --- a/options-table.c +++ b/options-table.c @@ -188,6 +188,7 @@ const struct options_name_map options_other_names[] = { { "display-panes-color", "display-panes-colour" }, { "display-panes-active-color", "display-panes-active-colour" }, { "clock-mode-color", "clock-mode-colour" }, + { "cursor-color", "cursor-colour" }, { "pane-colors", "pane-colours" }, { NULL, NULL } }; @@ -235,6 +236,13 @@ const struct options_table_entry options_table[] = { "If empty, no command is run." }, + { .name = "cursor-colour", + .type = OPTIONS_TABLE_COLOUR, + .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, + .default_num = -1, + .text = "Colour of the cursor." + }, + { .name = "default-terminal", .type = OPTIONS_TABLE_STRING, .scope = OPTIONS_TABLE_SERVER, |