Popularity
2.5
Growing
Activity
0.0
Stable
37
1
3
Programming language: Go
License: MIT License
Latest version: v1.2.3
ctc alternatives and similar packages
Based on the "Advanced Console UIs" category.
Alternatively, view ctc alternatives based on common mentions on social networks and blogs.
-
Rich Interactive Widgets for Terminal UIs
Terminal UI library with rich, interactive widgets — written in Golang -
go-prompt
Building powerful interactive prompts in Go, inspired by python-prompt-toolkit. -
tcell
Tcell is an alternate terminal package, similar in some ways to termbox, but better in others. -
pterm
✨ #PTerm is a modern Go module to beautify console output. Featuring charts, progressbars, tables, trees, and much more 🚀 It's completely configurable and 100% cross-platform compatible. -
progressbar
A really basic thread-safe progress bar for Golang applications -
asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies. -
uitable
A go library to improve readability in terminal apps using tabular data -
termtables
A Go port of the Ruby library terminal-tables for simple ASCII table generation as well as providing markdown and HTML output -
chalk
Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk -
yacspin
Yet Another CLi Spinner; providing over 80 easy to use and customizable terminal spinners for multiple OSes -
GCli
🖥 Go CLI application, tool library, running CLI commands, support console color, user interaction, progress display, data formatting display, generate bash/zsh completion add more features. Go的命令行应用,工具库,运行CLI命令,支持命令行色彩,用户交互,进度显示,数据格式化显示,生成bash/zsh命令补全脚本 -
marker
🖍️ Marker is the easiest way to match and mark strings for colorful terminal outputs!
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Promo
scoutapm.com
Do you think we are missing an alternative of ctc or a related project?
Popular Comparisons
README
ctc - Console Text Colors
The non-invasive cross-platform terminal color library does not need to modify the Print method
Virtual unix-like environments on Windows
Cursor related in github.com/wzshiming/cursor
Support style
- [x] console
- [x] unix-like (mac & linux)
- [x] windows
example
package main
import (
"fmt"
"github.com/wzshiming/ctc"
)
func main() {
// No invasion
fmt.Println(ctc.BackgroundRed|ctc.ForegroundBlue, "Hello world", ctc.Reset)
}
SGR (Select Graphic Rendition)
Value | Description | Behavior |
---|---|---|
0 | Default | Returns all attributes to the default state prior to modification |
4 | Underline | Adds underline |
7 | Negative | Swaps foreground and background colors |
30~37 | Foreground | Applies non-bold/bright color to foreground |
40~47 | Background | Applies non-bold/bright color to background |
90~97 | Bright Foreground | Applies bold/bright color to foreground |
100~107 | Bright Background | Applies bold/bright color to background |
License
Pouch is licensed under the MIT License. See LICENSE for the full license text.
*Note that all licence references and agreements mentioned in the ctc README section above
are relevant to that project's source code only.