Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-08-28 18:12:55 +0000
committerStijn Buys <ingar@osirion.org>2011-08-28 18:12:55 +0000
commitc8f14581ff9406fe8384a16dbfee9770fd712481 (patch)
treec59d1880a58df9f16c64b118c42606938e9b8fc8 /src/ui/console.cc
parent25b84292bf3808d8fa4ab0797586d50009fcf978 (diff)
Enabled ui::Console command completion again.
Diffstat (limited to 'src/ui/console.cc')
-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