From bafcf13695f80dac6d9be87b65ad6156ddc3d621 Mon Sep 17 00:00:00 2001 From: Randy Palamar Date: Fri, 5 Dec 2025 12:41:31 -0700 Subject: delete functions which were exposed as unused --- vis.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'vis.c') diff --git a/vis.c b/vis.c index 2d4aabc..a4d878c 100644 --- a/vis.c +++ b/vis.c @@ -700,14 +700,6 @@ void vis_replace_key(Vis *vis, const char *data, size_t len) { } } -void vis_delete(Vis *vis, size_t pos, size_t len) { - Win *win = vis->win; - if (!win) - return; - text_delete(win->file->text, pos, len); - vis_window_invalidate(win); -} - bool vis_action_register(Vis *vis, const KeyAction *action) { return map_put(vis->actions, action->name, action); } @@ -720,14 +712,6 @@ void vis_keymap_disable(Vis *vis) { vis->keymap_disabled = true; } -void vis_interrupt(Vis *vis) { - vis->interrupted = true; -} - -bool vis_interrupt_requested(Vis *vis) { - return vis->interrupted; -} - void vis_do(Vis *vis) { Win *win = vis->win; if (!win) -- cgit v1.2.3