c1.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package ansi
  2. // C1 control characters.
  3. //
  4. // These range from (0x80-0x9F) as defined in ISO 6429 (ECMA-48).
  5. // See: https://en.wikipedia.org/wiki/C0_and_C1_control_codes
  6. const (
  7. // PAD is the padding character.
  8. PAD = 0x80
  9. // HOP is the high octet preset character.
  10. HOP = 0x81
  11. // BPH is the break permitted here character.
  12. BPH = 0x82
  13. // NBH is the no break here character.
  14. NBH = 0x83
  15. // IND is the index character.
  16. IND = 0x84
  17. // NEL is the next line character.
  18. NEL = 0x85
  19. // SSA is the start of selected area character.
  20. SSA = 0x86
  21. // ESA is the end of selected area character.
  22. ESA = 0x87
  23. // HTS is the horizontal tab set character.
  24. HTS = 0x88
  25. // HTJ is the horizontal tab with justification character.
  26. HTJ = 0x89
  27. // VTS is the vertical tab set character.
  28. VTS = 0x8A
  29. // PLD is the partial line forward character.
  30. PLD = 0x8B
  31. // PLU is the partial line backward character.
  32. PLU = 0x8C
  33. // RI is the reverse index character.
  34. RI = 0x8D
  35. // SS2 is the single shift 2 character.
  36. SS2 = 0x8E
  37. // SS3 is the single shift 3 character.
  38. SS3 = 0x8F
  39. // DCS is the device control string character.
  40. DCS = 0x90
  41. // PU1 is the private use 1 character.
  42. PU1 = 0x91
  43. // PU2 is the private use 2 character.
  44. PU2 = 0x92
  45. // STS is the set transmit state character.
  46. STS = 0x93
  47. // CCH is the cancel character.
  48. CCH = 0x94
  49. // MW is the message waiting character.
  50. MW = 0x95
  51. // SPA is the start of guarded area character.
  52. SPA = 0x96
  53. // EPA is the end of guarded area character.
  54. EPA = 0x97
  55. // SOS is the start of string character.
  56. SOS = 0x98
  57. // SGCI is the single graphic character introducer character.
  58. SGCI = 0x99
  59. // SCI is the single character introducer character.
  60. SCI = 0x9A
  61. // CSI is the control sequence introducer character.
  62. CSI = 0x9B
  63. // ST is the string terminator character.
  64. ST = 0x9C
  65. // OSC is the operating system command character.
  66. OSC = 0x9D
  67. // PM is the privacy message character.
  68. PM = 0x9E
  69. // APC is the application program command character.
  70. APC = 0x9F
  71. )