diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-23 20:19:31 +0100 |
|---|---|---|
| committer | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-23 20:19:31 +0100 |
| commit | e8ffc1f9cc8e3fd5cb81cf4e78648e45ba078d34 (patch) | |
| tree | b71fe6ea341165809cadef732f4b249a3854fdc3 /vterm-module.c | |
| parent | 0414cf346a36251780231aa5b18ea37da8ded184 (diff) | |
Relocate a call to term_flush_output to Fvterm_update
Diffstat (limited to 'vterm-module.c')
| -rw-r--r-- | vterm-module.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vterm-module.c b/vterm-module.c index d4c5783..56377a1 100644 --- a/vterm-module.c +++ b/vterm-module.c @@ -261,8 +261,6 @@ static void term_process_key(struct Term *term, unsigned char *key, size_t len, vterm_keyboard_unichar(term->vt, codepoint, modifier); } } - - term_flush_output(term); } static void term_put_caret(struct Term *term, emacs_env *env, int row, int col, @@ -380,6 +378,9 @@ static emacs_value Fvterm_update(emacs_env *env, ptrdiff_t nargs, // Ignore the final zero byte term_process_key(term, key, len - 1, modifier); + + // Flush output + term_flush_output(term); } VTermScreenCallbacks cb = { |
