getTaskContext: Allow getting context info for a non-active context

This commit is contained in:
Tomas Babej
2021-04-03 01:39:33 -04:00
parent c0ded37f91
commit 351c3b025c
3 changed files with 14 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ public:
int getWidth (); // determine terminal width
int getHeight (); // determine terminal height
std::string getTaskContext (const std::string&, bool fallback=true);
std::string getTaskContext (const std::string&, std::string, bool fallback=true);
const std::vector <std::string> getColumns () const;
void getLimits (int&, int&);