Git Product home page Git Product logo

Comments (4)

rgburke avatar rgburke commented on May 24, 2024

Thanks for reporting this and sorry for the late response, I've been away for the last couple of days. Could you try the latest master and see if scrolling now works?

The issue is that NCurses was not providing any mouse data when scrolling down. So although a bit hacky, grv now interprets a mouse event without data as a scroll down. This fixes it on my system.

from grv.

mckellyln avatar mckellyln commented on May 24, 2024

Hi,
Yes, latest master works for me as well. Thank you so much!
One sort of related issue - when I have:
set mouse true
set mouse-scroll-rows 1
It scrolls by 1 line with each wheel click.
But if I disable the mouse (just did that for testing) then scrolling rows changes to 3 per wheel click.
Not sure if that was always true or part of this but just wanted to let you know.

from grv.

rgburke avatar rgburke commented on May 24, 2024

Thanks for confirming. When the mouse is disabled the number of rows scrolled is dependent on the terminal emulator you use. The terminal emulator translates a mouse scroll down into multiple <Down> key press events. For example, in my terminal when I scroll down grv receives 5 <Down> events and moves the cursor down 5 rows. So the mouse-scroll-rows configuration only takes effect when the mouse is enabled.

from grv.

mckellyln avatar mckellyln commented on May 24, 2024

ok, thanks for explaining. Makes sense as my tmux is configured for 3 rows per wheel click.

from grv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.