When `Scroll on input` is enabled, tabby will also scroll to end when lost force(with no input)
Describe the problem:
[A clear and concise description of what the bug is.]
When Scroll on input is enabled, tabby will also scroll to end when lost force(with no input)
Tested with Tabby 1.0.215 + win11(24H2)
To Reproduce:
- Enable Settings/Terminal/Scroll on input(Scrolls the terminal to the bottom on user input)
- open an new terminal, and press
Enteruntil the output is more than a screen - scroll to the head, and switch to another program;
- Switch back to tabby, and see it's already scroll to the end
Click the window to automatically scroll to the bottom
Click the window to automatically scroll to the bottom
The problem is that it scrolls to the botton, even it shouldn't
I have a similar problem, I have tabby on one half of the screen and my vscode on the other half. When I run some tests and I try to scroll up to see what failed and then click to my vscode to see the actual code, Tabby scrolls down, and I am not able to see the part I wanted without turning of the "Scroll on input"
Got the same issure
Same here. Scroll up. Alt-tab to a different app. Alt-tab back -- Tabby is scrolled to the bottom again (even without new output).
Seems it only happen on windows and conpty is enabled(enable by default)
xterm try to send \x1b[I/\x1B[O when sendFocus is true, but tabby not ignore this event
https://github.com/xtermjs/xterm.js/blob/c4b707e9ca8ba8e27cecb859fe80ccebeca7375a/src/browser/CoreBrowserTerminal.ts#L270-L272
https://github.com/Eugeny/tabby/blob/93e43067de6aa48d71e1fbb0cbb4168a6949a926/tabby-terminal/src/api/baseTerminalTab.component.ts#L492-L500