mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-08 06:10:36 +02:00
Fixing tests and updating documentation.
This commit is contained in:
parent
f5d6da2a7b
commit
60a7d2128e
7 changed files with 139 additions and 85 deletions
|
@ -27,6 +27,8 @@
|
|||
|
||||
#define L10N // Localization complete.
|
||||
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include <Readline.h>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -45,6 +47,12 @@ std::string Readline::gets (const std::string& prompt)
|
|||
return ret;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool Readline::interactive_mode (const std::istream& in)
|
||||
{
|
||||
return (&in == &std::cin && isatty(0) == 1);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
Wordexp::Wordexp (const std::string &str)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue