Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Bad scrolling with pager in git bash #1355
ConEmu build: 171205 x64
When I use a git command that invokes the pager (e.g. git log), I get bad behaviour with scrolling. When I'm navigating down the pager output it's fine, but when I press 'Up' or 'PageUp' the console scrollbar goes back to the top which means when I quit I have a load of nonsense from my log output all over subsequent lines of terminal.
If I use
Steps to reproduce
[The issue is more clearly visible if you disable autohide on the scrollbar]
Scrollbar jumps to top on step(3)
Same behaviour as using less: no scrollbar while the pager is active, no effect on console scroll when navigating up and down. On quitting, prompt is still at the bottom of the console scrollback, and none of the pager output is visible.