perf: Reduce cursor blink rate from 300ms to 600ms
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 <noreply@anthropic.com>
This commit is contained in:
parent
6c19cc57ef
commit
f366a30b66
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue