terminal.setCursorPosition: ensuring error will be thrown when arguments are missing.