aboutsummaryrefslogtreecommitdiffstats
path: root/src/vt102.h
blob: e5b62a58031bf4370b621486cf571882c058886f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * vt102.h:
 *
 * Copyright (c) 2008 James McKenzie <james@fishsoup.dhs.org>,
 * All rights reserved.
 *
 */

/*
 * $Id$
 */

/*
 * $Log$
 * Revision 1.1  2008/02/03 23:36:41  james
 * *** empty log message ***
 *
 */

#ifndef __VT102_H__
#define __VT102_H__

#define VT102_CSI_LEN 128

typedef struct
{
  int in_escape;
  int in_csi;
  int csi_ptr;
  char csi_buf[VT102_CSI_LEN];
} VT102_parser;

typedef struct
{
  VT102_parser p;
  int attr;
  CRT crt;
  CRT_Pos p;



} VT102;


#endif /* __VT102_H__ */