window: initScreen: initialize readline

this fixes segmentation fault in rl_resize_terminal on SIGWINCH.