The filter() function changes how X/Open Curses initializes terminal capabilities that assume the terminal has more than one line. After a call to filter(),
the initscr(3XCURSES) or newterm(3XCURSES) functions also:
Disable use of clear, cud, cud1, cup, cuu1, and vpa.