private void UpArrow()
    {
        //save current text if it is not a previous input
        //0 means this is our first time pressing up arrow
        logProgress++;
        //If this is our first arrow key input, log what is in the field before we ovverride it
        if ((lastInput == InputType.DownArrow || lastInput == InputType.UpArrow) == false)
        {
            LogInput();
        }
        if (logProgress > textLog.getIndex())
        {
            logProgress = textLog.getIndex();
        }
        string str = textLog.Get(logProgress);

        textMesh.text = str;
    }