summaryrefslogtreecommitdiff
path: root/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui.cpp')
-rw-r--r--gui.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui.cpp b/gui.cpp
index be6b28f..ecdd7e2 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -110,11 +110,21 @@ bool ConsoleWindow::keydown(const EventArgs& e) {
const KeyEventArgs& ke = static_cast<const KeyEventArgs&>(e);
switch(ke.scancode) {
// enter
+ // TODO: FIX!
+#ifdef WIN32
+ case 28:
+#else
case 36:
+#endif
handle_input();
break;
// backspace
+ // TODO: FIX!
+#ifdef WIN32
+ case 14:
+#else
case 22:
+#endif
erase_editbox_text();
break;
default: