Selecting tool using curses