- Changed FindReadline.cmake to search for Readline in macports paths before system paths. - Fixed CTRL-D. Now it exits tasksh. - Fixed a crash when a task description had any special characters.
This commit is contained in:
committed by
Paul Beckingham
parent
2a7c8c2aad
commit
e6b7445788
@@ -38,7 +38,7 @@ class Readline
|
||||
{
|
||||
public:
|
||||
static std::string gets (const std::string& prompt);
|
||||
static bool interactive_mode (const std::istream& in);
|
||||
static bool interactiveMode (const std::istream& in);
|
||||
|
||||
private:
|
||||
// No construction or destruction.
|
||||
@@ -52,11 +52,14 @@ private:
|
||||
class Wordexp
|
||||
{
|
||||
public:
|
||||
Wordexp (const std::string &str);
|
||||
Wordexp (const std::string& str);
|
||||
~Wordexp ();
|
||||
|
||||
int argc ();
|
||||
char** argv ();
|
||||
char* argv (int i);
|
||||
|
||||
void escapeSpecialChars(std::string& str);
|
||||
|
||||
private:
|
||||
wordexp_t _p;
|
||||
|
||||
Reference in New Issue
Block a user