mirror of https://github.com/gdamore/tcell.git
fixes #79 64 bit style parts add up to 65 bits.
This commit is contained in:
parent
8041bf0d83
commit
517e20bb11
2
style.go
2
style.go
|
@ -16,7 +16,7 @@ package tcell
|
|||
|
||||
// Style represents a complete text style, including both foreground
|
||||
// and background color. We encode it in a 64-bit int for efficiency.
|
||||
// The coding is (MSB): <8b flags><1b><24b fgcolor><7b attr><1b><24b bgcolor>.
|
||||
// The coding is (MSB): <7b flags><1b><24b fgcolor><7b attr><1b><24b bgcolor>.
|
||||
// The <1b> is set true to indicate that the color is an RGB color, rather
|
||||
// than a named index.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue