The Sequence Escape 序列逃脱
quote-escape-sequence 引号转义序列
escape sequence Esc 控制序列 ; 逸出序列
INVALID ESCAPE SEQUENCE 非法逃逸序列
simple-escape-sequence 简单转义序列
escape sequence command 逸出顺序命令
Escape Sequence 转义字符串 ; 逸出序列 ; 逸出码
octal escape sequence 八进制转义序列 ; 八进位逸出序列
control escape sequence 控件转义序列 ; 控制项逸出序列
An invalid escape sequence error is generated.
生成了一个无效的转义序列错误。
The usual escape sequence is "ESC-[31m", where the "1" specifies the foreground color, and can be any digit from 0 (default) to 9.
通常的换码序列是 "ESC-[31m",其中 "1" 指定前景颜色,可以是任何从 0(缺省)到 9 的任何数字。
Another point to be aware of is the need to tell Zsh which characters form escape sequence in a prompt, otherwise it will assume they are all printable characters, and position the cursor incorrectly.
另一个需要注意的是需要告诉 Zsh 在提示符中哪些字符构成换码序列,否则就会假设它们都是可打印字符,光标的位置就会出错。
应用推荐