aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index 4853c48..d060628 100644
--- a/vis.h
+++ b/vis.h
@@ -120,6 +120,9 @@ bool vis_window_syntax_set(Win*, const char *name);
int vis_window_width_get(const Win*);
int vis_window_height_get(const Win*);
+/* take an undo snaphost to which we can later revert to */
+void vis_file_snapshot(Vis*, File*);
+
/* display a user prompt with a certain title and default text */
void vis_prompt_show(Vis*, const char *title);