Skip to content

Smear-cursor starts using 100% cpu after continuous fast scrolling up and down #156

Description

@dizzib

Scrolling up and down continuously causes smear-cursor to start using 100% CPU, causing neovim to slow down to the point of becoming unresponsive.

This happens when smear-cursor is the only plug-in loaded.

Lazy config:

return {
  'sphamba/smear-cursor.nvim',
  event = 'VeryLazy',
  opts = {
    -- How fast the smear's head moves towards the target.
    -- 0: no movement, 1: instantaneous
    stiffness = 1,
  }
}

Environment

  • OS: Alpine Linux running under Orbstack 2.0.4 on MacOS 15.5
  • Terminal: ghostty 1.2.2
  • Neovim version: 0.11.1
  • Smear-cursor version/commit: abfa583

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformanceSomething is slow

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions