add getch() for Unix/Windows