Fixing tests and updating documentation.
This commit is contained in:
committed by
Paul Beckingham
parent
f5d6da2a7b
commit
60a7d2128e
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user