From 3f54fd319f6641b4bed478bcc90cdb39ede68e31 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 3 Mar 2018 21:29:55 +0100 Subject: patch 8.0.1563: timeout of getwinposx() can be too short Problem: Timeout of getwinposx() can be too short. (lilydjwg) Solution: Add getwinpos(). (closes #2689) --- src/proto/term.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto/term.pro') diff --git a/src/proto/term.pro b/src/proto/term.pro index 92cb26d58..42405dda5 100644 --- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -24,7 +24,7 @@ void term_cursor_right(int i); void term_append_lines(int line_count); void term_delete_lines(int line_count); void term_set_winpos(int x, int y); -int term_get_winpos(int *x, int *y); +int term_get_winpos(int *x, int *y, varnumber_T timeout); void term_set_winsize(int height, int width); void term_fg_color(int n); void term_bg_color(int n); -- cgit v1.2.1