cleanup console stuff
This commit is contained in:
@@ -14,8 +14,8 @@ public class ConsoleInputTextBox : ConsoleTextBoxBase
|
||||
{
|
||||
}
|
||||
|
||||
public ConsoleInputTextBox(ConsoleContentTextBox contentBox, float x, float y, float width, float height) :
|
||||
base(x, y, width, height)
|
||||
public ConsoleInputTextBox(ConsoleContentTextBox contentBox, float x, float y, float width, float height)
|
||||
: base(x, y, width, height)
|
||||
{
|
||||
this.contentBox = contentBox;
|
||||
IsMultiline = true; // Not really but behaves better than single-line box
|
||||
@@ -40,6 +40,7 @@ public class ConsoleInputTextBox : ConsoleTextBoxBase
|
||||
{
|
||||
if (inputTextLower.Length > 0)
|
||||
{
|
||||
// TODO: Remove this shit when scancode input is implemented in the engine
|
||||
if ((mapping.Key == KeyboardKeys.Backslash || mapping.Key == KeyboardKeys.BackQuote) &&
|
||||
(inputTextLower.Contains('ö') ||
|
||||
inputTextLower.Contains('æ') ||
|
||||
|
||||
Reference in New Issue
Block a user