예제 #1
0
 public void OnKeyDown(string key)
 {
     if (_isInputString && key != "\b")
     {
         _inputString += key;
         Typer.Print(key);
         _screen.Apply();
     }
     if (_canInputCommands)
     {
         if (key.Length > 0)
         {
             KeyDownProcessor(key[0]);
             ResetAutocompleteIndex();
         }
     }
 }