修饰符


【Modifiers】

不同终端对修饰符的支持各不相同。如果不被支持,它们大多会被忽略。

【Modifier support varies throughout different terminals. They will mostly be ignored, if not supported.】

  • reset - 将所有(颜色)修饰符重置为默认值
  • 加粗 - 使文字加粗
  • 斜体 - 使文本变为斜体
  • 下划线 - 使文本带下划线
  • 删除线 - 在文字中间加一条水平线(别名:strikeThroughcrossedoutcrossedOut
  • hidden - 打印文本,但使其不可见(别名:conceal)
  • - 颜色强度降低(别名:faint
  • 上划线 - 使文本带上划线
  • blink - 以一定间隔隐藏和显示文本
  • 反转 - 交换前景色和背景色 (别名: swapcolors, swapColors)
  • doubleunderline - 将文本设置为双下划线(别名:doubleUnderline
  • 加框 - 在文字周围画一个框