From 0774a46257bdc6daa1c6a1c3485d75bd07ef849c Mon Sep 17 00:00:00 2001 From: Juhani Krekelä Date: Thu, 17 Jun 2021 20:22:13 +0300 Subject: Add setting for controlling cursor blinking Currently weltschmerz always uses the global GTK setting for cursor blink, which means that the cursor blink setting is stored separately from the rest of the configuration. Add a setting for overriding it in the config file, so that all the relevant settings can be adjusted in one standardized place. Reviewed-by: Wolfgang Müller --- terminal.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'terminal.vala') diff --git a/terminal.vala b/terminal.vala index a6c0a76..3fcdea6 100644 --- a/terminal.vala +++ b/terminal.vala @@ -95,6 +95,7 @@ class Terminal : Gtk.Overlay { vte.set_mouse_autohide(conf.autohide_mouse); vte.set_scrollback_lines(conf.scrollback); vte.set_cursor_shape(conf.cursor_shape); + vte.set_cursor_blink_mode(conf.cursor_blink); vte.set_colors(conf.foreground, conf.background, conf.palette); vte.set_color_bold(conf.bold); -- cgit v1.2.3-2-gb3c3