lintel 0.2.0
Loading...
Searching...
No Matches
CommandLineUtils.h
Go to the documentation of this file.
1#ifndef LINTEL_COMMANDLINEUTILS_H
2#define LINTEL_COMMANDLINEUTILS_H
3
4#include <set>
5#include <sstream>
6
7#if defined(__APPLE__) || defined(__linux__) || defined(__unix__)
8
9#include <termios.h>
10#include <unistd.h>
11
12#endif
13
14namespace lintel {
17{
18private:
19 bool m_isCanonicalMode = false;
20 bool m_isEchoDisabled = false;
21
22public:
25
28
30 static void clear();
31
33 static void beep();
34
37
40
42 bool isCanonicalMode() const;
43
45 bool isEchoMode() const;
46};
47
48}// namespace lintel
49#endif// LINTEL_COMMANDLINEUTILS_H
Definition CommandLineUtils.h:17
bool isCanonicalMode() const
Definition BaseFeature.h:6