Input buffer for console (press up/down arrow keys)