aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.vala
diff options
context:
space:
mode:
authorJuhani Krekelä2021-06-17 20:22:13 +0300
committerWolfgang Müller2021-06-17 19:42:27 +0200
commit0774a46257bdc6daa1c6a1c3485d75bd07ef849c (patch)
treeaaa26ff08b075fcb120c0ce8170e93bb214a38bd /terminal.vala
parent1869309c20c313b587e769878dce15ea831476d6 (diff)
downloadweltschmerz-0774a46257bdc6daa1c6a1c3485d75bd07ef849c.tar.gz
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 <wolf@oriole.systems>
Diffstat (limited to 'terminal.vala')
-rw-r--r--terminal.vala1
1 files changed, 1 insertions, 0 deletions
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);