Commit 85eaac84 authored by aligungr's avatar aligungr

CLI shell colored

parent 6bfd6255
......@@ -211,10 +211,12 @@ static bool HandleMessage(const app::CliMessage &msg, bool isOneShot)
{
while (true)
{
std::cout << "\x1b[1m";
std::string line{};
std::vector<std::string> tokens{};
if (!opt::ReadLine(std::cin, std::cout, line, tokens))
exit(0);
std::cout << "\x1b[0m";
if (line.empty())
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment