Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DrawBox ¶ added in v0.2.0
func DrawBox(s tcell.Screen, x1 int, y1 int, x2 int, y2 int, size Dimension, style PositionStyle, text string, isBold bool)
generic function to draw box
Types ¶
type PositionStyle ¶
type PositionStyle struct {
// contains filtered or unexported fields
}
func ColorLetter ¶
func ColorLetter(wordle string, col int, letter string) (PositionStyle, guess.LetterPosition)
color letter
func GetLetterStyles ¶
func GetLetterStyles(posType guess.LetterPosition) PositionStyle
Click to show internal directories.
Click to hide internal directories.