Method IsValidInput NamespaceTerminal.Gui.Drivers AssemblyTerminal.Gui.dll IsValidInput(Key, out Key) Handles surrogate pairs in the input stream. bool IsValidInput(Key key, out Key result) Parameters key Key The key from input. result Key Get the surrogate pair or the key. Returns bool true if the result is a valid surrogate pair or a valid key, otherwise false.