diff options
-rw-r--r-- | src/T.c | 1 | ||||
-rw-r--r-- | src/config.h | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -176,6 +176,7 @@ set_preferences(VteTerminal *terminal) /* Set preferences */ vte_terminal_set_audible_bell(terminal, CONFIG_AUDIBLE_BELL); vte_terminal_set_colors(terminal, &fg_color, &bg_color, palette, CONFIG_PALETTE_SIZE); + vte_terminal_set_cursor_blink_mode(terminal, CONFIG_CURSOR_BLINK_MODE); vte_terminal_set_font_from_string(terminal, CONFIG_FONT_NAME); vte_terminal_set_mouse_autohide(terminal, CONFIG_MOUSE_AUTOHIDE); vte_terminal_set_scrollback_lines(terminal, CONFIG_SCROLLBACK_LINES); diff --git a/src/config.h b/src/config.h index f1f5b59..ee466ee 100644 --- a/src/config.h +++ b/src/config.h @@ -63,3 +63,6 @@ static const char *CONFIG_COLOR_PALETTE[CONFIG_PALETTE_SIZE] = { /* Visible bell (TRUE or FALSE) */ #define CONFIG_VISIBLE_BELL FALSE + +/* Cursor blink mode. One of: VTE_CURSOR_BLINK_SYSTEM/ON/OFF */ +#define CONFIG_CURSOR_BLINK_MODE VTE_CURSOR_BLINK_OFF |