aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.h
diff options
context:
space:
mode:
authorLukas Fürmetz <fuermetz@mailbox.org>2018-01-18 21:03:00 +0100
committerLukas Fürmetz <fuermetz@mailbox.org>2018-09-20 09:37:23 +0200
commit0d3069175e1d988be2f48b5b5f44b3513ceb6b5c (patch)
treef58a0a41bcbeaceeb5fef526c998808269c721bc /vterm-module.h
parent180cb1a0d58266f6dbcd594ccbcf66cf7f55612c (diff)
Use a emacs process for spawning the shell
Diffstat (limited to 'vterm-module.h')
-rw-r--r--vterm-module.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/vterm-module.h b/vterm-module.h
index 477ad01..64a5b20 100644
--- a/vterm-module.h
+++ b/vterm-module.h
@@ -11,9 +11,6 @@ int plugin_is_GPL_compatible;
struct Term {
VTerm *vt;
- int masterfd;
- pid_t pid;
- pthread_t thread;
};
// Faces
@@ -36,7 +33,7 @@ static int set_term_prop_cb(VTermProp prop, VTermValue *val, void *user_data);
static void term_redraw(struct Term *term, emacs_env *env);
static void term_setup_colors(struct Term *term, emacs_env *env);
-static void term_flush_output(struct Term *term);
+static void term_flush_output(struct Term *term, emacs_env *env);
static void term_process_key(struct Term *term, unsigned char *key, size_t len,
VTermModifier modifier);
static void term_put_caret(struct Term *term, emacs_env *env, int row, int col,
@@ -47,12 +44,6 @@ static emacs_value Fvterm_new(emacs_env *env, ptrdiff_t nargs,
emacs_value args[], void *data);
static emacs_value Fvterm_update(emacs_env *env, ptrdiff_t nargs,
emacs_value args[], void *data);
-static emacs_value Fvterm_kill(emacs_env *env, ptrdiff_t nargs,
- emacs_value args[], void *data);
-static emacs_value Fvterm_set_size(emacs_env *env, ptrdiff_t nargs,
- emacs_value args[], void *data);
-
-static void *event_loop(void *arg);
int emacs_module_init(struct emacs_runtime *ert);
#endif /* VTERM_MODULE_H */