Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

🐛 Mouse scroll not working #1625

Closed
dougg0k opened this issue Feb 13, 2024 · 1 comment
Closed

🐛 Mouse scroll not working #1625

dougg0k opened this issue Feb 13, 2024 · 1 comment

Comments

@dougg0k
Copy link

dougg0k commented Feb 13, 2024

Hi,

I have been trying to get delta to work with mouse scrolls, but so far, it's not working.

I tried setting the DELTA_PAGER var mentioned at https://dandavison.github.io/delta/tips-and-tricks/mouse-scrolling.html but didnt work.

I tried working with bat also doesnt work.

Mouse scroll straight using less or bat in a file, do work.

I had another issue open because of this in another repo till I found that delta were the problem. sharkdp/bat#2860

Less is a bit outdated here, but since it works the functionality works straight in a file, it also should on delta.

nu ❯ less --version
less 590 (GNU regular expressions)
Copyright (C) 1984-2021  Mark Nudelman

Accordingly to this https://superuser.com/a/1453863 it should support mouse scroll from 530 forward.

@dandavison
Copy link
Owner

Hi @dougg0k, can you check the existing issues on this topic? E.g.
#630
#58

I don't use mouse-scrolling in less/delta I'm afraid and I don't always find it easy to know how to reproduce the problems people report with it.

Less is a bit outdated here, but since it works the functionality works straight in a file, it also should on delta.

Note that it's possible that delta could be picking up a different version of less, so you could try setting the absolute path to less explicitly in delta's options or an env var.

Repository owner locked and limited conversation to collaborators Feb 13, 2024
@dandavison dandavison converted this issue into discussion #1626 Feb 13, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants