Context: Dead code removal
This commit is contained in:
@@ -585,16 +585,6 @@ const std::vector <std::string> Context::getColumns () const
|
|||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
const std::vector <std::string> Context::getCommands () const
|
|
||||||
{
|
|
||||||
std::vector <std::string> output;
|
|
||||||
for (auto& cmd : commands)
|
|
||||||
output.push_back (cmd.first);
|
|
||||||
|
|
||||||
return output;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// A value of zero mean unlimited.
|
// A value of zero mean unlimited.
|
||||||
// A value of 'page' means however many screen lines there are.
|
// A value of 'page' means however many screen lines there are.
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ public:
|
|||||||
int getHeight (); // determine terminal height
|
int getHeight (); // determine terminal height
|
||||||
|
|
||||||
const std::vector <std::string> getColumns () const;
|
const std::vector <std::string> getColumns () const;
|
||||||
const std::vector <std::string> getCommands () const;
|
|
||||||
void getLimits (int&, int&);
|
void getLimits (int&, int&);
|
||||||
|
|
||||||
bool color (); // TTY or <other>?
|
bool color (); // TTY or <other>?
|
||||||
|
|||||||
Reference in New Issue
Block a user