aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-13 14:26:21 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-13 14:26:41 -0400
commitfda808ee972ca6f983fd731d70bfd56aa8530d32 (patch)
treed4baed923e9e82209fca83d340999ef1fd43a94c
parentf1f1d4fe193d7c0e2499376c1257c3becc0fb759 (diff)
downloadrunes-fda808ee972ca6f983fd731d70bfd56aa8530d32.tar.gz
runes-fda808ee972ca6f983fd731d70bfd56aa8530d32.zip
use a transparent cursor for now
eventually, it should be fully opaque against the background and fully transparent against the foreground (and probably also repaint the foreground using the background color), but this will work for now
-rw-r--r--display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/display.c b/display.c
index 4bfe5f5..8715ca1 100644
--- a/display.c
+++ b/display.c
@@ -26,7 +26,7 @@ void runes_display_init(RunesTerm *t)
t->fgcolor = t->colors[7];
t->bgcolor = t->colors[0];
- t->cursorcolor = cairo_pattern_create_rgb(0.0, 1.0, 0.0);
+ t->cursorcolor = cairo_pattern_create_rgba(0.0, 1.0, 0.0, 0.5);
t->show_cursor = 1;
t->font_name = "monospace";