def init_streams_pad(self, start_row=<NUM_LIT:0>):
y = <NUM_LIT:0><EOL>pad = curses.newpad(max(<NUM_LIT:1>,len(self.filtered_streams)), self.pad_w)<EOL>pad.keypad(<NUM_LIT:1>)<EOL>for s in self.filtered_streams:<EOL><INDENT>pad.addstr(y, <NUM_LIT:0>, self.format_stream_line(s))<EOL>y+=<NUM_LIT:1><EOL><DEDENT>self.offsets['<STR_LIT>'] = <NUM_LIT:0><EOL>pad.move(start_row, <NUM_LIT:0>)<EOL>if not self.no_stream_shown:<EOL><INDENT>pad.chgat(curses.A_REVERSE)<EOL><DEDENT>self.pads['<STR_LIT>'] = pad<EOL>
Create a curses pad and populate it with a line by stream