From bc66572a58b0648bad99782985e3cd6abce325cd Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 19 May 2017 04:05:37 +0430 Subject: the history number is broken. commented it out til i fix it. --- bruiser/bruiser.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'bruiser/bruiser.cpp') diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index bb64a9b..c3731ff 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -919,14 +919,6 @@ int main(int argc, const char **argv) tempint++; } -#if 0 - unsigned int _cnt = 0; - for (auto &it : shHistory.History) - { - std::cout << _cnt << "." << it << "\n"; - _cnt++; - } -#endif continue; } @@ -950,6 +942,8 @@ int main(int argc, const char **argv) if (command[0] == '!') { + /*FIXME*/ +#if 0 int command_number; std::string cut_string; //std::cout << CYAN << command << "\n" << NORMAL; @@ -969,6 +963,7 @@ int main(int argc, const char **argv) { std::cout << CYAN << shHistory.History[command_number] << NORMAL; } +#endif continue; } -- cgit v1.2.3