mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
858ed4b1ef
commit
20e1de5ae1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user