diff --git a/kitty/shaders.c b/kitty/shaders.c index 317abf75d..cdc9ffdff 100644 --- a/kitty/shaders.c +++ b/kitty/shaders.c @@ -2456,7 +2456,7 @@ run_custom_end_shader(OSWindow *os_window, float sx, float sy, monotonic_t now) } float anim_progress = 0.0f; - monotonic_t eff_dur = cg->animation_end_duration < 0 ? OPT(cursor_blink_interval) : cg->animation_end_duration; + monotonic_t eff_dur = cg->animation_end_duration < 0 ? OPT(cursor_stop_blinking_after) : cg->animation_end_duration; if (cg->animation_start_events != 0 && eff_dur > 0 && os_window->shader_group_anim[g].active) { monotonic_t started_at = os_window->shader_group_anim[g].started_at; bool cached = false; diff --git a/kitty/shaders/slang.py b/kitty/shaders/slang.py index 7ace511aa..c3e18eafa 100644 --- a/kitty/shaders/slang.py +++ b/kitty/shaders/slang.py @@ -1198,7 +1198,7 @@ class Group(TypedDict): animation_curve: EasingFunction # parsed easing curve animation_step: int # nanoseconds between animation samples animation_end_events: tuple[str, ...] # events that stop the animation - animation_end_duration: int # nanoseconds; 0 = no time limit, negative = use cursor_blink_interval + animation_end_duration: int # nanoseconds; 0 = no time limit, negative = use cursor_stop_blinking_after class Pipeline(TypedDict):