Skip to content
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

forceClearScrollbackBuffer conflicts with focusConsoleOnExecute #2833

Open
ghost opened this issue Jul 24, 2020 · 3 comments
Open

forceClearScrollbackBuffer conflicts with focusConsoleOnExecute #2833

ghost opened this issue Jul 24, 2020 · 3 comments
Labels
Area-Configuration Issue-Bug A bug to squash. Up for Grabs Will shepherd PRs.

Comments

@ghost
Copy link

ghost commented Jul 24, 2020

Adding the following setting "powershell.integratedConsole.forceClearScrollbackBuffer":true causes the setting "powershell.integratedConsole.focusConsoleOnExecute": false to be ignored.

This means that the focus shifts to the terminal instead of staying inside the code window

System Details

System Details Output


Issue Description

I am experiencing a problem with keeping the focus on the code window instead of the terminal windows

Expected Behaviour

When i run/execute powershell code i expect the focus to stay in the code windows when this setting is added :
"powershell.integratedConsole.focusConsoleOnExecute": false

Actual Behaviour

The setting "powershell.integratedConsole.focusConsoleOnExecute": false is being ignored when i added "powershell.integratedConsole.forceClearScrollbackBuffer": true,, so everytime i execute code my cursor/marker is focused to the terminal windows.

Attached Logs

Follow the instructions in the troubleshooting docs
about capturing and sending logs.

@ghost ghost added the Needs: Triage Maintainer attention needed! label Jul 24, 2020
@SydneyhSmith SydneyhSmith added Area-Configuration Issue-Bug A bug to squash. and removed Needs: Triage Maintainer attention needed! labels Jul 28, 2020
@SydneyhSmith
Copy link
Collaborator

I am thinking @vexx32 was having this issue, but I cant seem to find the bug

@vexx32
Copy link

vexx32 commented Jul 28, 2020

I don't think this was the same thing I was seeing, though my issue did also concern how the console focusing logic worked (it was revealing + focusing the wrong console when I had it hiding the integrated console by default and also running debug sessions in new consoles every time, forget the exact setting names but yeah).

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Jul 28, 2020
@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Jul 30, 2020
@ghost
Copy link
Author

ghost commented Feb 9, 2021

Can someone please have a look at this? It would really benefit my work to be able to clear the history the same way as powershell ISE and be able to keep focus on the code window at the same time. Been waiting for a fix for this since last summer.... =(

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Feb 9, 2021
@SydneyhSmith SydneyhSmith added Up for Grabs Will shepherd PRs. and removed Needs: Maintainer Attention Maintainer attention needed! labels Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Configuration Issue-Bug A bug to squash. Up for Grabs Will shepherd PRs.
Projects
None yet
Development

No branches or pull requests

2 participants