summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-11-01 12:01:12 +0000
committerThomas Adam <thomas@xteddy.org>2021-11-01 12:01:12 +0000
commit7d330c19e822c09164264eebfddad32bb1194a6d (patch)
tree4e809926ec83e0e4654cad90664a5b325ef01ab0 /options-table.c
parent774903f6c4b1c1ae44517af43a7d70d80eb7d805 (diff)
parent8d2286b76917debc4f6c3b0903ad2807ae254bb5 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 3acbfcaf..4be5e6e5 100644
--- a/options-table.c
+++ b/options-table.c
@@ -187,6 +187,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 }
};
@@ -234,6 +235,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,