diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-05-21 13:01:22 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-05-22 00:05:31 +0200 |
| commit | 33b17306fb887b175ce62ad30af93d4dd9fd0d7e (patch) | |
| tree | 7aef72484c12d5ab548f2c1edbab43a7a51342af /vis.h | |
| parent | c7d2f08ba44243ac1db478a0d5239763932a6861 (diff) | |
| download | vis-33b17306fb887b175ce62ad30af93d4dd9fd0d7e.tar.gz vis-33b17306fb887b175ce62ad30af93d4dd9fd0d7e.tar.xz | |
vis: add functions to query window size
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
