Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Apr 27, 2024
1 parent 587d092 commit e63104e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion linenoise.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ func SetHintHandler(h HintHandler) {
hintHandler = h
}

// SetHintColor sets hint text color
// SetHintColor sets hint text color to color with given ANSI code
//
// Color codes: https://github.com/essentialkaos/fmtc/wiki#88256-colors
func SetHintColor(color uint8) {
if color < 0 {
color = 0
Expand Down

0 comments on commit e63104e

Please sign in to comment.