50 void input(std::string
const& aText)
final
56 output().trigger(
"\b\x1B[K");
62 output().trigger(aText);
65 while (!destroyed && (next = iBuffer.find(
"\r\n")) != std::string::npos)
67 auto const nextCommand = iBuffer.substr(0, next);
68 iBuffer = iBuffer.substr(next + 2);
69 if (!nextCommand.empty())
70 command().trigger(nextCommand);
72 output().trigger(iName +
">");