diff options
| author | jixiuf <jixiuf@qq.com> | 2020-02-03 23:01:58 +0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2020-02-03 23:48:43 +0800 |
| commit | 4bfe85cae868943006662805e4445b3bd94eee2c (patch) | |
| tree | a1216f8ab119d01d729f3daa06f29c9a96b38f76 /vterm-module.h | |
| parent | 783b34e9d8ebb6e66c6981f6ecdd3ae8b948fe56 (diff) | |
add func vterm--at-prompt-p
Diffstat (limited to 'vterm-module.h')
| -rw-r--r-- | vterm-module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vterm-module.h b/vterm-module.h index 1680000..57450f4 100644 --- a/vterm-module.h +++ b/vterm-module.h @@ -20,6 +20,7 @@ int plugin_is_GPL_compatible; typedef struct LineInfo { char *directory; /* working directory */ + int prompt_col; /* end column of the prompt,if current line contains prompt */ } LineInfo; typedef struct ScrollbackLine { @@ -119,6 +120,8 @@ emacs_value Fvterm_get_icrnl(emacs_env *env, ptrdiff_t nargs, emacs_value Fvterm_get_pwd(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data); +emacs_value Fvterm_get_prompt_point(emacs_env *env, ptrdiff_t nargs, + emacs_value args[], void *data); emacs_value Fvterm_reset_cursor_point(emacs_env *env, ptrdiff_t nargs, emacs_value args[], void *data); |
