diff options
author | Stijn Buys <ingar@osirion.org> | 2011-08-28 18:12:55 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-08-28 18:12:55 +0000 |
commit | c8f14581ff9406fe8384a16dbfee9770fd712481 (patch) | |
tree | c59d1880a58df9f16c64b118c42606938e9b8fc8 /src | |
parent | 25b84292bf3808d8fa4ab0797586d50009fcf978 (diff) |
Enabled ui::Console command completion again.
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/console.cc | 12 |
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 |