From 20e1de5ae12a7d80f5b365bf24ba994625a02ab6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 28 Oct 2001 21:49:35 +0000 Subject: [PATCH] terminfo_resize() updated - new terminal width can't be taken by reading it from capabilities. Have to figure out something else (setupterm()?) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1930 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/terminfo-core.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fe-text/terminfo-core.c b/src/fe-text/terminfo-core.c index ad1e9253..d60001e7 100644 --- a/src/fe-text/terminfo-core.c +++ b/src/fe-text/terminfo-core.c @@ -354,10 +354,7 @@ static void term_fill_capabilities(TERM_REC *term) /* Terminal was resized - ask the width/height from terminfo again */ void terminfo_resize(TERM_REC *term) { - /* easiest way to do this is just to refill everything, and since - termcap needs that buffer this is probably also the safest way */ - /* FIXME: leaks memory? does this even work? */ - term_fill_capabilities(term); + /* FIXME: is this possible? */ } static void terminfo_colors_deinit(TERM_REC *term)