diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2015-03-13 12:55:12 -0300 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2015-03-13 12:55:12 -0300 |
commit | 0d59c52b323893c35d7276ebdf179e7060abf281 (patch) | |
tree | d3fbcbe8d5edc35d478c984136704859632b13de | |
parent | 8985ad08f87e969b546672664b868d027a0bc006 (diff) |
Added CONFIG_CURSOR_BLINK_MODE.
-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 |