Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: LazyTerm scrolls to top when opened #111

Closed
4 tasks done
salloom-domani opened this issue Sep 6, 2024 · 2 comments
Closed
4 tasks done

bug: LazyTerm scrolls to top when opened #111

salloom-domani opened this issue Sep 6, 2024 · 2 comments
Labels
bug Something isn't working stale

Comments

@salloom-domani
Copy link

Did you check docs and existing issues?

  • I have read all the edgy.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of edgy.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

0.10.1

Operating system/version

6.10.8-arch1-1

Describe the bug

LazyTerm scrolls to top when opened and there are multiple lines before which hides the all the lines, but after a keystroke it scrolls back the lines to the view.

Steps To Reproduce

  1. open LazyTerm
  2. prints many lines until the terminal scrolls many lines (for me echo hi 7 times and Im using starship so it will print lines by itself)
  3. close LazyTerm
  4. open LazyTerm back (the terminal will scroll until all the lines are hidden except the the one that has the cursor)
  5. enter a key (the terminal will scoll back to its normal state)

here's a real world example:
Screencast from 2024-09-06 16-55-46.webm

Expected Behavior

LazyTerm shouldnt scroll the lines to the top when opened and goes back for a keystroke

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "folke/edgy.nvim", opts = {} },
    -- add any other plugins here
  },
})
@salloom-domani salloom-domani added the bug Something isn't working label Sep 6, 2024
Copy link
Contributor

github-actions bot commented Oct 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale label Oct 7, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

1 participant