Skip to content

Conversation

farzadmf
Copy link

Description

  • If Neovim window is quickly resized after dashboard is shown, debounce the render for 200ms to avoid a second render.
  • Cache terminal window buffer and reuse it on resize.

Related Issue(s)

  • Didn't create issue but can create one if needed

Screenshots

  • I don't have an "interesting" screenshot; let me know if it's required.

Additional info

In my config, I have AutoCmds to hide lualine in the dashboard (for whatever reason, couldn't make it work through lualine's config), and that causes a resize in dashboard and a second render once I start Neovim. I've been testing out these changes for a few days, and they seem to be working.

PS: I have used AI to help with changes.

PS2: Feel free to close/ignore this PR if you think is not necessary. Since the changes seem to be fine, I thought it would be nice to contribute.

- If Neovim window is quickly resized after dashboard is shown, prevent the
  dashboard from double rendering.
- Cache terminal window buffer and reuse it on resize.
@folke folke added the size/m Medium PR (<50 lines changed) label Oct 19, 2025
@folke
Copy link
Owner

folke commented Oct 20, 2025

not interested in adding this. Thank you though

@folke folke closed this Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dashboard size/m Medium PR (<50 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants