From 160b1eeb5ad1ae0b22b2e4855ed1552ddcdf0955 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 9 Sep 2023 20:40:22 -0700 Subject: [PATCH] termio/exec: ensure initial cursor blink mode is set to config --- src/termio/Exec.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/termio/Exec.zig b/src/termio/Exec.zig index 04e1d879f..2b149c9a8 100644 --- a/src/termio/Exec.zig +++ b/src/termio/Exec.zig @@ -119,6 +119,9 @@ pub fn init(alloc: Allocator, opts: termio.Options) !Exec { try term.screen.kitty_images.setLimit(alloc, opts.config.image_storage_limit); try term.secondary_screen.kitty_images.setLimit(alloc, opts.config.image_storage_limit); + // Set default cursor blink settings + term.modes.set(.cursor_blinking, opts.config.cursor_blink); + var subprocess = try Subprocess.init(alloc, opts); errdefer subprocess.deinit();