aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-05 12:41:31 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-16 11:28:44 -0700
commitbafcf13695f80dac6d9be87b65ad6156ddc3d621 (patch)
tree95c9c70928fe7b90cbf1fa66013e41d3a90c3fce /vis.c
parent1d1d19ed30309b39fc5e43c830cabb4cdd004d07 (diff)
downloadvis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.gz
vis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.xz
delete functions which were exposed as unused
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c16
1 files changed, 0 insertions, 16 deletions
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)