Terminus icon indicating copy to clipboard operation
Terminus copied to clipboard

Feature request: setting to to turn of scroll animation

Open mikez opened this issue 3 years ago • 3 comments

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?

mikez avatar Aug 13 '21 20:08 mikez

Yes, it is the correct setting.

randy3k avatar Aug 13 '21 20:08 randy3k

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)

mikez avatar Aug 13 '21 21:08 mikez

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.

anthroid avatar Sep 23 '21 18:09 anthroid