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