Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/console.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/console.cc b/src/ui/console.cc
index 00aa09f..df7d2f9 100644
--- a/src/ui/console.cc
+++ b/src/ui/console.cc
@@ -131,12 +131,12 @@ bool Console::on_keypress(const int key, const unsigned int modifier)
return false;
}
break;
- /*
- case SDLK_TAB:
- core::CommandBuffer::complete( (*history_pos), input_pos);
- return true;
- break;
- */
+
+ case SDLK_TAB:
+ console_input->complete();
+ return true;
+ break;
+
case SDLK_RETURN:
if (console_input->text().size()) {
// store input in history