1
0
mirror of https://github.com/irssi/irssi.git synced 2024-08-04 03:34:18 -04:00

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
This commit is contained in:
Timo Sirainen 2001-10-28 21:49:35 +00:00 committed by cras
parent 858ed4b1ef
commit 20e1de5ae1

View File

@ -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)