rcarriga / nvim-notify

A fancy, configurable, notification manager for NeoVim
MIT License
3.03k stars 81 forks source link

cursor jumping #273

Open sineptic opened 4 months ago

sineptic commented 4 months ago

I know that nearly same issue(#63) exist. BUT in my situation cursor jumps in the same location every time. Mb it happens because it's plugin bug.

Screencast from 2024-05-22 18-10-21.webm

I use lazy package manager and add this plugin with only 1 line(no configuration)

dj95 commented 4 months ago

Experiencing the same issue after the update to neovim 0.10.0 when running in zellij.


Edit: when running in tmux, the cursor is just flickering, but not jumping

LarssonMartin1998 commented 4 months ago

I have the same issues as dj95 running nightly neovim with alacritty and zellij

uroybd commented 3 months ago

iterm2, tmux and neovim 0.10, but no flickering. However, I see flickering on zellij regardless of what terminal I use.

jkhoffman commented 2 months ago

Can see this very clearly using neovide, with its animated cursor. A long trail between the two positions as the cursor flicks back & forth.

radlinskii commented 2 months ago

I have the same issue on Windows Terminal, without using any terminal multiplexer

Edit but my cursor is also flickering when the notification is displayed

sumarokov-vp commented 2 months ago

Found solution: I've disabled animation by setting 'stages' to 'static'

return {
    "rcarriga/nvim-notify",
    config = function()
        require("notify").setup({
            -- stages = "fade_in_slide_out",
            stages = "static",
            render = "compact",
            background_colour = "FloatShadow",
            timeout = 3000,
        })
        vim.notify = require("notify")
    end,
}
sineptic commented 1 month ago

I've disabled animation by setting 'stages' to 'static'

Thank you! It's work for me too.

P.S. You can write config for plugin in opts = { ... } and do some things(if needed) in init = function() ... end

vricop commented 1 month ago

@sineptic related issue: https://github.com/folke/noice.nvim/issues/923#issuecomment-2310202468