diff options
| author | Yubao Liu <yubao.liu@gmail.com> | 2021-01-11 12:32:08 +0800 |
|---|---|---|
| committer | Yubao Liu <yubao.liu@gmail.com> | 2021-01-11 12:32:08 +0800 |
| commit | efc75ea3f3a7338fb5c87e70ce8c501fb0b3549a (patch) | |
| tree | f1b930d3910b1d1c84fa309b652b2cddda76d333 /elisp.h | |
| parent | b6592f94d76098d19f242c0d09f660f6a6461b76 (diff) | |
fix cursor type after hide cursor and show again
This patch also adds support for cursor blink.
VIM emits these ANSI escape sequences in insert mode:
\x1b[?25h show cursor
\x1b[?25l hide cursor
Diffstat (limited to 'elisp.h')
| -rw-r--r-- | elisp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ extern emacs_value Qrear_nonsticky; extern emacs_value Qvterm_prompt; // Emacs functions +extern emacs_value Fblink_cursor_mode; extern emacs_value Fsymbol_value; extern emacs_value Flength; extern emacs_value Flist; @@ -77,6 +78,7 @@ void goto_char(emacs_env *env, int pos); void forward_line(emacs_env *env, int n); void goto_line(emacs_env *env, int n); void set_cursor_type(emacs_env *env, emacs_value cursor_type); +void set_cursor_blink(emacs_env *env, bool blink); void delete_lines(emacs_env *env, int linenum, int count, bool del_whole_line); void recenter(emacs_env *env, emacs_value pos); void set_window_point(emacs_env *env, emacs_value win, emacs_value point); |
