diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2018-10-25 22:14:38 +0200 |
|---|---|---|
| committer | Lukas Fürmetz <fuermetz@mailbox.org> | 2018-10-25 22:14:38 +0200 |
| commit | 81d2aeebaff7829e2082b5ca2fc50495f6215508 (patch) | |
| tree | f1f9530e62f837013e517a464de3391b579cb58f /vterm-module.h | |
| parent | b4d13768eaab80efb32aecc154b25d2cc4c67fec (diff) | |
Add support for hiding the cursor
Diffstat (limited to 'vterm-module.h')
| -rw-r--r-- | vterm-module.h | 4 |
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); |
