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

Disable scrolling past lowest line #172

Open
bquistorff opened this Issue Jun 3, 2015 · 10 comments

Comments

9 participants
@bquistorff
Copy link

bquistorff commented Jun 3, 2015

When scrolling down it would be nice if it stopped at the lowest line (rather than allowing scrolling past this into blank space) as is the behavior in putty and Cygwin. I couldn't find an option for this.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Jun 3, 2015

There is no "lowest line" term defined in Windows. Even if the cursor was left on some line, console applications may write below it using standard WinApi.
More cons than pros.
Will not implement that.

@Maximus5 Maximus5 closed this Jun 3, 2015

@pyhedgehog

This comment has been minimized.

Copy link

pyhedgehog commented Jun 10, 2015

Maybe writing N empty lines on shell startup (in something like .bashrc) will help you?
Unfortunately there are no correct way to get "DefaultBufferHeight" option (GetOption macro is awful).

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Jun 10, 2015

@Ehekatl

This comment has been minimized.

Copy link

Ehekatl commented Aug 8, 2016

this is a very annoying feature...
resizing a window will lose focus on current output
really hope you could consider stop it somewhere, and when scrolling large output, it's easy to get lost.

@erikjasiak

This comment has been minimized.

Copy link

erikjasiak commented Aug 17, 2017

I'm adding a +1 even if this is "closed" ; any sort of scroll up referral to terminal history makes the terminal useless:
Either you overshoot the cursor, start typing, and lose everything above it
Or you waste an inordinate amount of time repositioning your window.

Please reconsider - even typing "conemu sto" into google autocompletes to "conemu stop scrolling" at this point.

@tcoulter

This comment has been minimized.

Copy link

tcoulter commented Sep 7, 2017

Another 👍 as well. Conemu is the best Windows console I can find, and it's still very hard to have a pleasant developer experience.

@GeneriGithub

This comment has been minimized.

Copy link

GeneriGithub commented Sep 20, 2017

Scrolling into empty space after the last line is really annoying. Any fix?

@CodeBrotha

This comment has been minimized.

Copy link

CodeBrotha commented Dec 11, 2017

Is there a fix for this? Always overshooting the last line and having to scroll back to the exact position of the cursor is really annoying and slows me down.

@Maximus5

This comment has been minimized.

Copy link
Owner

Maximus5 commented Dec 11, 2017

Update and read whats new (Dynamic scrollbar range).
There is even the hotkey to position your buffer at the line with the cursor.

2017-12-11_17-20-19

@tobia

This comment has been minimized.

Copy link

tobia commented Mar 26, 2018

Wait, there's something I still don't understand.

ConEmu is clearly able to detect the range of buffer that has actually been filled, otherwise Dynamic scrollbar range wouldn't work. So why can't it lock the regular touchpad or mouse wheel scrolling to that range? What's the purpose of allowing the screen to fly below the range that has any actual text in it?

To put it another way: if I grab the scrollback handle, I'm limited to the correct range. If I want to scroll past that, for whatever obscure reason, I can always click on the arrow button at the end of the scrollbar.

Would it be possible to restrict the WheelDown and WheelUp events to the same "dynamic" range? Can we do it using a macro?

By the way, I'm already using the macros Scroll(0,1) and Scroll(0,-1) on WheelDown and WheelUp, because the default scrolling speed is way too high for a touchpad. If I could, I would reduce it even more, but Scroll() doesn't accept a float argument.

@Maximus5 Maximus5 reopened this Mar 28, 2018

@Maximus5 Maximus5 added this to To Do in ConEmu Mar 28, 2018

@Maximus5 Maximus5 moved this from To Do to In progress in ConEmu Apr 9, 2018

@Maximus5 Maximus5 moved this from In progress to Ready for Testing in ConEmu Apr 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.