diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-11-01 09:34:50 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-11-01 09:34:50 +0000 |
commit | 515a879e380267e8941d7a95ae1978657f8c00fd (patch) | |
tree | d30eb095b57bfa3cf0996fafe44a7c6194758d34 /usr.bin/tmux/options-table.c | |
parent | 16f59bbd5f0faff049d7393bf5ee4b5e3bb9326b (diff) |
Add a cursor-colour option, from Alexis Hildebrandt in GitHub issue
2959.
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r-- | usr.bin/tmux/options-table.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c index c435480f021..d0511e2f40e 100644 --- a/usr.bin/tmux/options-table.c +++ b/usr.bin/tmux/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.152 2021/10/14 13:19:01 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.153 2021/11/01 09:34:49 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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, |