aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
authorLukas Fürmetz <fuermetz@mailbox.org>2018-10-25 22:14:38 +0200
committerLukas Fürmetz <fuermetz@mailbox.org>2018-10-25 22:14:38 +0200
commit81d2aeebaff7829e2082b5ca2fc50495f6215508 (patch)
treef1f9530e62f837013e517a464de3391b579cb58f /vterm-module.h
parentb4d13768eaab80efb32aecc154b25d2cc4c67fec (diff)
Add support for hiding the cursor
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/vterm-module.h b/vterm-module.h
index 775b59d..bf449ab 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -42,6 +42,8 @@ struct term {
int invalid_start, invalid_end; // invalid rows in libvterm screen
+ // Flag to indicate cursor is visible
+ bool cursor_visible;
};
@@ -62,7 +64,7 @@ static bool is_key(unsigned char *key, size_t len, char *key_description);
static emacs_value render_text(emacs_env *env, char *string, int len,
VTermScreenCell *cell);
-static int set_term_prop_cb(VTermProp prop, VTermValue *val, void *user_data);
+static int term_settermprop(VTermProp prop, VTermValue *val, void *user_data);
static void term_redraw(Term *term, emacs_env *env);
static void term_setup_colors(Term *term, emacs_env *env);