Replace hakish input with curses implementation