Changing font size when terminal has lots of output is slow.
Prerequisites
- [x] I have searched open and closed issues for duplicates.
Describe the bug
When there is a large amount of text in any terminal tab (including the tab you are not on) and you change the font size, there is a large lag.
To Reproduce
Steps to reproduce the behavior:
- Open Terminal
- Run the
yescommand and let it run for 10-20 seconds (or more) - Press Ctrl-+ and Ctrl-- and notice the slowness.
Expected behavior
Immediate response to zoom in/out regardless of buffer size.
Platform Information

- [ ] I'm using the latest version from git that I've manually compiled
- [x] I'm using the latest released stable version
I can still confirm this issue even after the GTK4 port
@danirabbit
I think this may be related to the default value for scrolllback_lines being -1. For comparison BlackBox has a value of 1000. If the scrollback lines of Terminal is changed to 1000 then the lag is much decreased under the above conditions.
The Vte.Terminal widget does most of the heavy lifting when it comes to changing the font size.
I would propose changing the default value of scrollback_lines. Does it need to be exposed in the AppMenu?