going to use different approach than getstr in curses