Add cursor_blink to control blinking.

This commit is contained in:
Simon Gomizelj 2012-05-31 02:23:00 -04:00
parent 56c1f04cc6
commit 4dbd92e478
2 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
static const char *font = "Monospace 9";
static const long scrollback_lines = 1000;
static const bool cursor_blink = false;
static const char *foreground_color = "#dcdccc";
static const char *background_color = "#3f3f3f";

View File

@ -224,6 +224,9 @@ int main(int argc, char **argv) {
vte_terminal_set_visible_bell(VTE_TERMINAL(vte), visible_bell);
vte_terminal_set_mouse_autohide(VTE_TERMINAL(vte), mouse_autohide);
if (!cursor_blink)
vte_terminal_set_cursor_blink_mode(VTE_TERMINAL(vte), VTE_CURSOR_BLINK_OFF);
#ifdef TRANSPARENCY
GdkScreen *screen = gtk_widget_get_screen(window);
GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen);