ESC ( C Designate G0 Character Set (ISO 2022, VT100).
Final character C for designating 94-character sets. In this
list, 0 , A and B apply to VT100 and up, the remainder to
VT220 and up. The VT220 character sets, together with the
Portuguese character set are activated by the National
Replacement Character controls. The A is a special case,
since it is also activated by the VT300-control for British
Latin-1 separately from the National Replacement Character
controls.
...
C = B -> United States (USASCII).
控制序列
\x1b(B
选择默认字符集ASCII。见XTerm Control Sequences:这是在终端被设置为其他字符集的情况下提供的,例如line-drawing。Blessed可能正在检索它作为{}的一部分,例如
^{pr2}$进一步阅读:
相关问题 更多 >
编程相关推荐