From 33b17306fb887b175ce62ad30af93d4dd9fd0d7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 21 May 2016 13:01:22 +0200 Subject: vis: add functions to query window size --- vis.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index 132cc18..66e42e8 100644 --- a/vis.h +++ b/vis.h @@ -104,6 +104,9 @@ void vis_window_swap(Win*, Win*); const char *vis_window_syntax_get(Win*); bool vis_window_syntax_set(Win*, const char *name); +int vis_window_width_get(const Win*); +int vis_window_height_get(const Win*); + /* display a user prompt with a certain title and default text */ void vis_prompt_show(Vis*, const char *title); -- cgit v1.2.3