mirror of
https://github.com/cheat/cheat.git
synced 2024-11-25 07:21:36 +01:00
9 lines
156 B
Go
9 lines
156 B
Go
|
package display
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
// Faint returns an faint string
|
||
|
func Faint(str string) string {
|
||
|
return fmt.Sprintf(fmt.Sprintf("\033[2m%s\033[0m", str))
|
||
|
}
|