Kaynağa Gözat

ASCII

- add controls
Alexey Kim 1 ay önce
ebeveyn
işleme
f9609b4da3
1 değiştirilmiş dosya ile 37 ekleme ve 0 silme
  1. 37 0
      ascii/control.go

+ 37 - 0
ascii/control.go

@@ -0,0 +1,37 @@
+package ascii
+
+const (
+	Null                   = 0
+	StartOfHeader          = 1
+	StartOfText            = 2
+	EndOfText              = 3
+	EndOfTransmission      = 4
+	Enquiry                = 5
+	Acknowledgement        = 6
+	Bell                   = 7
+	Backspace              = 8
+	HorizontalTab          = 9
+	LineFeed               = 10
+	VerticalTab            = 11
+	FormFeed               = 12
+	CarriageReturn         = 13
+	ShiftOut               = 14
+	ShiftIn                = 15
+	DataLinkEscape         = 16
+	DeviceControl1         = 17
+	DeviceControl2         = 18
+	DeviceControl3         = 19
+	DeviceControl4         = 20
+	NegativeAcknowledge    = 21
+	SynchronousIdle        = 22
+	EndOfTransmissionBlock = 23
+	Cancel                 = 24
+	EndOfMedium            = 25
+	Substitute             = 26
+	Escape                 = 27
+	FileSeparator          = 28
+	GroupSeparator         = 29
+	RecordSeparator        = 30
+	UnitSeparator          = 31
+	Delete                 = 127
+)