#include <vector>
#include <string>
-static std::vector <std::string> contexts;
+////////////////////////////////////////////////////////////////////////////////
+static std::vector <std::string> contexts;
std::string composeContexts (bool pretty = false);
-////////////////////////////////////////////////////////////////////////////////
int promptClear ()
{
contexts.clear ();
return 0;
}
-////////////////////////////////////////////////////////////////////////////////
int promptRemove ()
{
if (contexts.size ())
}
////////////////////////////////////////////////////////////////////////////////
+
int promptAdd (const std::string& context)
{
contexts.push_back (context);
}
////////////////////////////////////////////////////////////////////////////////
+
std::string promptCompose ()
{
return "% ";