diff options
| author | Michael <[email protected]> | 2017-08-08 11:29:03 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-08 11:29:03 -0400 |
| commit | 72fe64f28d02cf41aa90b636608421e9b86ab896 (patch) | |
| tree | c689da52c270ca3f04ebfa26ebbb4f3b42ec079a /ShiftOS.Frontend/GUI | |
| parent | 950b31ace3b599b40528d7fc030dfb9d6a342932 (diff) | |
| download | shiftos_thereturn-72fe64f28d02cf41aa90b636608421e9b86ab896.tar.gz shiftos_thereturn-72fe64f28d02cf41aa90b636608421e9b86ab896.tar.bz2 shiftos_thereturn-72fe64f28d02cf41aa90b636608421e9b86ab896.zip | |
Block enter in terminal
Diffstat (limited to 'ShiftOS.Frontend/GUI')
| -rw-r--r-- | ShiftOS.Frontend/GUI/TextInput.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS.Frontend/GUI/TextInput.cs b/ShiftOS.Frontend/GUI/TextInput.cs index 36e21b1..1733a6a 100644 --- a/ShiftOS.Frontend/GUI/TextInput.cs +++ b/ShiftOS.Frontend/GUI/TextInput.cs @@ -72,6 +72,8 @@ namespace ShiftOS.Frontend.GUI protected override void OnKeyEvent(KeyEvent e) { + if (e.Key == Microsoft.Xna.Framework.Input.Keys.Enter) + return; if(e.Key == Microsoft.Xna.Framework.Input.Keys.Left) { if (_index > 0) |
