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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?