Skip to content

Commit

Permalink
Merge pull request #3 from powel13/patch-1
Browse files Browse the repository at this point in the history
Terminal.cs
  • Loading branch information
omid3098 authored Mar 2, 2018
2 parents e9413f0 + 0eb4566 commit ede7835
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/OpenTerminal/Scripts/Terminal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ internal void SetInputText(string inputString)
public void UpdateInputText(string input)
{
inputText += input;
inputText = inputText.Replace("\b", "");
}

public void OnUpArrowPressed()
Expand Down Expand Up @@ -221,4 +222,4 @@ internal void OnEnterPressed()
else
PreExecute();
}
}
}

0 comments on commit ede7835

Please sign in to comment.