st

fork of suckless's simple terminal
Index Commits Files Refs README LICENSE
commit 7f297e297ccec99a66b7af46e2b1725545ba3746
parent f4a6c20f464df79a9b15b4a2a11daaa7a06c60a0
Author: Christoph Lohmann <20h@r-36.net>
Date:   Tue, 19 Feb 2013 15:51:25 +0100

Fixing the reverse mode of st colors.

Thanks Alexander Sedov <alex0player@gmail.com> for finding this!

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
@@ -2288,7 +2288,7 @@ xresize(int col, int row) {
 void
 xloadcols(void) {
     int i, r, g, b;
-    XRenderColor color = { .alpha = 0 };
+    XRenderColor color = { .alpha = 0xffff };
 
     /* load colors [0-15] colors and [256-LEN(colorname)[ (config.h) */
     for(i = 0; i < LEN(colorname); i++) {