aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-07 20:43:37 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-08 12:49:59 +0200
commit90e798d9e3e1999e6aa51625ea222cb0c8abf834 (patch)
tree7a5f46cc7db457996179618d366d9104fa96817f /vis.h
parentdf84a1c16844c0eaebe12dd0e606d5b2c478c478 (diff)
downloadvis-90e798d9e3e1999e6aa51625ea222cb0c8abf834.tar.gz
vis-90e798d9e3e1999e6aa51625ea222cb0c8abf834.tar.xz
vis: let :e recreate a window at the same location as the old one
Close #224
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vis.h b/vis.h
index d0486cc..5e7f338 100644
--- a/vis.h
+++ b/vis.h
@@ -83,6 +83,8 @@ void vis_window_next(Vis*);
void vis_window_prev(Vis*);
/* change currently focused window, receiving user input */
void vis_window_focus(Win*);
+/* swap location of two windows */
+void vis_window_swap(Win*, Win*);
/* display a user prompt with a certain title and default text */
void vis_prompt_show(Vis*, const char *title);