Open searleser97 opened 10 months ago
@tjdevries Could you point me in the right direction of how I could fix this ? I am open to contribute, but hard to know where to start
Thanks
Seems to be working fine on Linux. I'm not sure what's happening on Windows to cause this issue.
Looks like this is the line that is not working correctly for windows, any ideas ?
Tested with ToggleTerm, and sending commands there work as expected on Windows (I can scroll delta pager by sending "10d" for example).
Looks like the same "chansend" command is used, probably we still have hope https://github.com/akinsho/toggleterm.nvim/blob/91be5f327e42aa016da13b277540de8dba0b14e3/lua/toggleterm/terminal.lua#L317-L328
Tested with ToggleTerm, and sending commands there work as expected on Windows (I can scroll delta pager by sending "10d" for example).
Looks like the same "chansend" command is used, probably we still have hope https://github.com/akinsho/toggleterm.nvim/blob/91be5f327e42aa016da13b277540de8dba0b14e3/lua/toggleterm/terminal.lua#L317-L328
I tried appending "\r" as in toggleterm but still not working :(
Any more ideas ? @jamestrew @tjdevries @henrik
Thanks @searleser97 for doing this digging.
Give me a few days to let me take a closer look.
Probably this scroll_bottom
function is what makes the magic in toggleterm
So, this is what worked for me:
Description
<C-D>
and<C-U>
do not scroll when using git delta as previewer for commits in windows powershellNeovim version
Operating system and version
Windows 11
Telescope version / branch / rev
master
checkhealth telescope
Steps to reproduce
gc
based on the mapping listed below (minimal config section)Expected behavior
be able to scroll the preview with
<c-d>
and<c-u>
when using git delta as pagerActual behavior
<c-d>
and<c-u>
do not work when using git delta as pagerMinimal config