Added seconds version of the command input

- Using unix terminal style input history
- ctrl+c support to copy current command to clipboard
- ctrl+v support to paste current text from clipboard
This commit is contained in:
Jonas Strandstedt
2014-10-20 17:12:53 +02:00
parent dbef0d36e4
commit 5cd90db239
4 changed files with 93 additions and 47 deletions
+3 -1
View File
@@ -118,7 +118,9 @@ private:
bool _inputCommand;
size_t _inputPosition;
std::string _activeCommand;
std::vector<std::string> _commandsHistory;
size_t _activeCommand;
std::vector<std::string> _commands;
void renderActiveCommand();
void handleCommandInput(int key, int action);