Files
psyTerm/THIRD_PARTY_NOTICES.md
T

1.5 KiB

Third-party notices

Neovide cursor motion

src/cursor.rs adapts the four-corner cursor animation and analytically integrated critically damped spring from Neovide:

  • src/renderer/cursor_renderer/mod.rs
  • src/renderer/animation_utils.rs
  • Source revision: 468b71f7e6fd4f995720b2f43da20608b37eb9b0
  • Copyright (c) 2023 Neovide Contributors
  • License: MIT; the complete notice is in licenses/neovide-MIT.txt.

The spring formula, front/back corner timing, 150 ms long-move duration, and 40 ms short-move duration are retained. Coordinates and painting are adapted to GPUI instead of Skia. Particle effects are not included.

The blink behavior in src/cursor.rs follows the author's buzzlocker code, reused at the author's explicit request:

  • src/render.c: update_single_animation, cursor branch
  • src/animation.c: anim_qubic_ease_out
  • src/main.c: reset_cursor_flash_anim
  • Source revision: 53157cb4d60585078cf4c89048fa807530f1d088

It holds at full opacity for 500 ms after input, fades out with a 500 ms cubic ease-out curve, then returns to full opacity for 500 ms. It does not fade in.

Neovide view transitions

src/transition.rs adapts Neovide's ease_out_expo window-position curve from src/renderer/animation_utils.rs, used by rendered_window.rs with position_animation_length = 0.15 in renderer/mod.rs. This is the same Neovide revision and MIT license recorded above. Horizontal tab and pane transitions use this curve; text scrolling has a separate spring in Neovide.