forked from parallaxinc/spin-standard-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtermcodes.spinh
121 lines (112 loc) · 4 KB
/
termcodes.spinh
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
--------------------------------------------
Filename: termcodes.spinh
Author: Jesse Burt
Description: Symbols for terminal control codes
Copyright (c) 2022
Started Dec 24, 2022
Updated Dec 24, 2022
See end of file for terms of use.
--------------------------------------------
}
#ifndef TERMCODES_H
#define TERMCODES_H
#endif
CON
NUL = 0 ' null
HM = 1 ' home cursor
SOH = 1 ' start of heading
STX = 2 ' start of text
ETX = 3 ' end of text
EOT = 4 ' end of transmission
ENQ = 5 ' enquiry
ACK = 6 ' acknowledge
BEL = 7 ' bell
BS = 8 ' backspace
TB = 9 ' tab
HT = 9 ' horizontal tab
LF = 10 ' line feed
VT = 11 ' vertical tab
NP = 12 ' new page
FF = 12 ' form feed
CB = 12 ' clear
CR = 13 ' carriage return
SO = 14 ' shift out
SI = 15 ' shift in
DLE = 16 ' data link escape
DC1 = 17 ' device control 1
DC2 = 18 ' device control 2
DC3 = 19 ' device control 3
DC4 = 20 ' device control 4
NAK = 21 ' negative acknowledge
SYN = 22 ' synchronous idle
ETB = 23 ' end of transmission block
CAN = 24 ' cancel
EM = 25 ' end of medium
SUB_ = 26 ' substitute (SUB)
ESC = 27 ' escape
DEL = 127 ' delete
{ line-drawing characters }
LSHADE = 176
MSHADE = 177
DSHADE = 178
SVERT = 179
SVERT_L = 180
SVERT_DL = 181
DVERT_SL = 182
DDOWN_SL = 183
SDOWN_DL = 184
DVERT_DL = 185
DVERT = 186
DDOWN_DL = 187
DUP_DL = 188
DUP_SL = 189
SUP_DL = 190
SDOWN_SL = 191
SUP_SR = 192
SUP_SHORIZ = 193
SDOWN_SHORIZ = 194
SVERT_SRIGHT = 195
SHORIZ = 196
SVERT_SHORIZ = 197
SVERT_DRIGHT = 198
DVERT_SRIGHT = 199
DUP_DRIGHT = 200
DDOWN_DRIGHT = 201
DUP_DHORIZ = 202
DDOWN_DHORIZ = 203
DVERT_DRIGHT = 204
DHORIZ = 205
DVERT_DHORIZ = 206
SUP_DHORIZ = 207
DUP_SHORIZ = 208
SDOWN_DHORIZ = 209
DDOWN_SHORIZ = 210
DUP_SRIGHT = 211
SUP_DRIGHT = 212
DDOWN_SRIGHT = 213
DVERT_SHORIZ = 214
SVERT_DHORIZ = 215
SUP_SLEFT = 216
SDOWN_SRIGHT = 217
FBLOCK = 218
BHBLOCK = 219
LHBLOCK = 220
RHBLOCK = 221
THBLOCK = 222
DAT
{
Copyright 2022 Jesse Burt
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}