randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.38k stars 84 forks source link

Feature request: setting to to turn of scroll animation #305

Closed mikez closed 1 year ago

mikez commented 2 years ago

Wow, what an awesome plugin, @randy3k! I'm so happy to have discovered this today. I love your attention to detail. The code is also a joy to browse. ✨

A small request: After hitting enter in the terminal, I'd enjoy it scroll to the end right away without animation.

Might we have a setting for that? :-)

I believe the crucial code is here. The setting would let the second argument here be False.

What do you think?

randy3k commented 2 years ago

Yes, it is the correct setting.

mikez commented 2 years ago

I would like you to hear me differently.

Right now, Terminus scrolls with an animation to the bottom, that is, view.set_viewport_position((0, y), True).

I would enjoy a custom setting in the Terminus.sublime-settings that also lets us disable that animation. With this custom setting, the code instead runs: view.set_viewport_position((0, y), False)

anthroid commented 2 years ago

If this is request is to provide a setting to disable the "smooth scrolling" animation that occurs when lines are output from the terminal, I agree that a setting to turn this off (and have immediate, non-animated, line-by-line scrolling output like iTerm, Terminal.app, VS Code, Terminator, etc) would be ideal. Especially if it is as simple as passing False instead of True as determined by @mikez.