def resize(self, signum, obj):
self.s.clear()<EOL>stream_cursor = self.pads['<STR_LIT>'].getyx()[<NUM_LIT:0>]<EOL>for pad in self.pads.values():<EOL><INDENT>pad.clear()<EOL><DEDENT>self.s.refresh()<EOL>self.set_screen_size()<EOL>self.set_title(TITLE_STRING)<EOL>self.init_help()<EOL>self.init_streams_pad()<EOL>self.move(stream_cursor, absolute=True, pad_name='<STR_LIT>', refresh=False)<EOL>self.s.refresh()<EOL>self.show()<EOL>
handler for SIGWINCH