go-colortext

Change the color of console text.

  • 所有者: daviddengcn/go-colortext
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

go-colortext package GoSearch

This is a package to change the color of the text and background in the console, working both under Windows and other systems.

Under Windows, the console APIs are used. Otherwise, ANSI texts are output.

Docs: http://godoc.org/github.com/daviddengcn/go-colortext (packages that import ct)

Usage:

ct.Foreground(Green, false)
fmt.Println("Green text starts here...")
ct.ChangeColor(Red, true, White, false)
fmt.Println(...)
ct.ResetColor()

LICENSE

BSD/MIT license

主要指标

概览
名称与所有者daviddengcn/go-colortext
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证Other
所有者活动
创建于2013-01-23 03:38:54
推送于2020-03-29 21:12:20
最后一次提交2020-03-29 14:11:09
发布数3
最新版本名称v1.0.0 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数215
关注者数9
派生数22
提交数39
已启用问题?
问题数8
打开的问题数3
拉请求数4
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?