summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-11-03 16:01:14 +0000
committerThomas Adam <thomas@xteddy.org>2021-11-03 16:01:14 +0000
commit77fc7ac3be1320a02cf82c329d0031a472b8cf8f (patch)
treebd6e8100bdacb2eb1d927b7f7cf67e568f48a19c /options-table.c
parent1fc0d1b74f23c8cefb339c3c4bd8af4acf6d63f8 (diff)
parent57100376cc70739f53a1f8a4bacf192b8cdcd124 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 4be5e6e5..3e0ff198 100644
--- a/options-table.c
+++ b/options-table.c
@@ -56,6 +56,10 @@ static const char *options_table_bell_action_list[] = {
static const char *options_table_visual_bell_list[] = {
"off", "on", "both", NULL
};
+static const char *options_table_cursor_style_list[] = {
+ "default", "blinking-block", "block", "blinking-underline", "underline",
+ "blinking-bar", "bar", NULL
+};
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", NULL
};
@@ -242,6 +246,14 @@ const struct options_table_entry options_table[] = {
.text = "Colour of the cursor."
},
+ { .name = "cursor-style",
+ .type = OPTIONS_TABLE_CHOICE,
+ .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
+ .choices = options_table_cursor_style_list,
+ .default_num = 0,
+ .text = "Style of the cursor."
+ },
+
{ .name = "default-terminal",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SERVER,