mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 06:10:36 +02:00
- 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:
parent
2a7c8c2aad
commit
e6b7445788
4 changed files with 124 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue