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

fix: don't show terminal suggestions when keybindings are sent through to shell #208523

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

cpendery
Copy link
Member

When terminal.integrated.sendKeybindingsToShell is true, we probably shouldn't show the suggestion widget since the user will only be able to interact with it via mouse. I thought the widget was broken until I checked my settings.

Part of #154662

…h to shell

Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
@cpendery
Copy link
Member Author

@Tyriar for review

Tyriar
Tyriar previously approved these changes Mar 25, 2024
Comment on lines 67 to 68
this._addon?.dispose();
this._addon = undefined;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good pattern to use here: private _addon: MutableDisposable<SuggestAddon>

@Tyriar Tyriar added this to the March 2024 milestone Mar 25, 2024
@Tyriar Tyriar enabled auto-merge March 25, 2024 12:29
Signed-off-by: Chapman Pendery <cpendery@microsoft.com>
auto-merge was automatically disabled March 25, 2024 22:29

Head branch was pushed to by a user without write access

@Tyriar Tyriar enabled auto-merge March 27, 2024 13:05
@Tyriar Tyriar merged commit 32690e1 into microsoft:main Mar 27, 2024
9 checks passed
@microsoft microsoft locked and limited conversation to collaborators Jun 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants