Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4680 right-hear 1
 
2
#define __unixcommandline_h__
3
4
 
5
#include 
6
#include 
7
#include 
8
#include 
9
#include 
10
#include 
11
#include 
12
13
 
14
#include "commandline.h"
15
16
 
17
 *  and sending ansi character sequences to the console.
18
 */
19
class CUnixCommandLine : public CCommandLine
20
{
21
public:
22
  CUnixCommandLine();
23
  ~CUnixCommandLine();
24
public:
25
  virtual LispInt GetKey();
26
  virtual void NewLine();
27
  virtual void ShowLine(LispChar * prompt,LispInt promptlen,LispInt cursor);
28
  virtual void Pause();
29
  virtual void MaxHistoryLinesSaved(LispInt aNrLines);
30
private:
31
  unsigned char term_chars[NCCS];
32
  struct termios orig_termio, rl_termio;
33
public:
34
  LispInt iMaxLines;
35
};
36
37
 
38
 
39