aurora
aurora copied to clipboard
Golang ultimate ANSI-colors that supports Printf/Sprintf methods
Adds support for Hyperlinks in many modern terminal emulators, as described in [this gist](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#supporting-apps). ```go package main import ( "fmt" "github.com/logrusorgru/aurora" ) func main() { fmt.Println("Now with ", aurora.Link("links", "https://github.com/logrusorgru/aurora"))...
For manipulating prompts, it is necessary to mark characters as non-greedy (not consuming a space in the column calculation of the tty). Here is an example how this is done...
If I import the module as usual ```golang import ( "github.com/logrusorgru/aurora" ) func init(){ fmt.Println(aurora.Bold("foo")) } ``` in other words I do not have to do: ```golang func init(){ fmt.Println(aurora.colors.Bold("foo"))...
The v1.1 should be backward compatible with previous Aurora implementation. Please, let me know if the v1.1 breaks something.
great lib! is there a switch (env var) that can noop methods so we don't get control chars? Control chars seem to be good for displaying to terminal, but when...