From 517e20bb11a68c62b36f407a508d210b1efce3e3 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 18 Nov 2015 07:03:13 -0800 Subject: [PATCH] fixes #79 64 bit style parts add up to 65 bits. --- style.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.go b/style.go index 9d0c4d5..c4ee935 100644 --- a/style.go +++ b/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. //