From f366a30b66d5e89bfb0f9f9b5ab3eb40f82aeeb0 Mon Sep 17 00:00:00 2001 From: "R.Eugenio" Date: Wed, 7 Jan 2026 01:07:49 +0100 Subject: [PATCH] perf: Reduce cursor blink rate from 300ms to 600ms MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GTK/Linux standard rate. Reduces unnecessary redraws by ~50%. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- src/core/context.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/context.zig b/src/core/context.zig index a9e6855..c6bad35 100644 --- a/src/core/context.zig +++ b/src/core/context.zig @@ -142,8 +142,8 @@ pub const Context = struct { pub const CURSOR_IDLE_TIMEOUT_MS: u64 = 20000; /// Cursor blink period (ms). Cursor toggles visibility at this rate. - /// 300ms = ~3.3 blinks/sec (faster for better editing feedback) - pub const CURSOR_BLINK_PERIOD_MS: u64 = 300; + /// 600ms = ~1.7 blinks/sec (GTK/Linux standard, reduces unnecessary redraws) + pub const CURSOR_BLINK_PERIOD_MS: u64 = 600; const Self = @This();