From 6da787a878c938e680f13808dee254beacefbd43 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Mon, 2 Aug 1999 23:48:37 +0000 Subject: import gdb-1999-08-02 snapshot --- readline/terminal.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'readline/terminal.c') diff --git a/readline/terminal.c b/readline/terminal.c index f5326387218..a1fcc25400e 100644 --- a/readline/terminal.c +++ b/readline/terminal.c @@ -236,6 +236,16 @@ _rl_set_screen_size (rows, cols) screenchars = screenwidth * screenheight; } +void +rl_resize_terminal () +{ + if (readline_echoing_p) + { + _rl_get_screen_size (fileno (rl_instream), 1); + _rl_redisplay_after_sigwinch (); + } +} + struct _tc_string { char *tc_var; char **tc_value; -- cgit v1.2.1