aboutsummaryrefslogtreecommitdiff
path: root/vterm-module.c
diff options
context:
space:
mode:
Diffstat (limited to 'vterm-module.c')
-rw-r--r--vterm-module.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/vterm-module.c b/vterm-module.c
index 2ff2771..201c9b2 100644
--- a/vterm-module.c
+++ b/vterm-module.c
@@ -591,16 +591,6 @@ static void term_process_key(Term *term, unsigned char *key, size_t len,
}
}
-static void term_put_caret(Term *term, emacs_env *env, int row, int col,
- int offset) {
- int rows, cols;
- vterm_get_size(term->vt, &rows, &cols);
- // row * (cols + 1) because of newline character
- // col + 1 because (goto-char 1) sets point to first position
- int point = ((row + term->sb_current) * (cols + 1)) + col + 1 + offset;
- goto_char(env, point);
-}
-
void term_finalize(void *object) {
Term *term = (Term *)object;
for (int i = 0; i < term->sb_current; i++) {