-
Notifications
You must be signed in to change notification settings - Fork 116
#2344 Increase VS Code scroll back by default #2749
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
base: master
Are you sure you want to change the base?
#2344 Increase VS Code scroll back by default #2749
Conversation
Signed-off-by: Seb Julliand <[email protected]>
Signed-off-by: Seb Julliand <[email protected]>
If the scrollback is less than a minimum amount, then set it to that minimum amount.
Hi @Nathaniel-King-Navarrete , |
Hi @sebjulliand , I was using this line as reference point as a possible implementation. vscode-ibmi/src/ui/Terminal.ts Line 109 in 1d00df8
Are you thinking that the global is unnecessary for the scrollback? |
@Nathaniel-King-Navarrete I think Seb was getting at is that the extension shouldn't really be altering global VS Code configuration for our sake. I agree with him in this instance. |
Sounds good! I will make those changes, when I get the chance. |
Updated the terminal.integrated.scrollback to a minimum value.
Sorry for the delay on this. I think this is what we are looking for. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sebjulliand what is the consensus here?
@worksofliam @Nathaniel-King-Navarrete my initial point still stands, which is Code for i should not automatically change the settings (regardless of their scope), at least not without asking the user about it first. Should this setting be changed to fix an issue specific to Code for i, then a modal dialog should be displayed to:
For now, updating it silently is not a good thing. |
@sebjulliand Sounds good. I will make the changes as requested. |
If the scrollback is less than a minimum amount, then set it to that minimum amount.
Changes
During the instantiate process, set the scollback to a minimum amount. This will globally change the terminal.integrated.scrollback value. If the user has a prefered scollback larger than the minimum, then it will not be update.
How to test this PR
Two test cases:
Checklist
console.log
s I added