Skip to content

Commit

Permalink
Merge pull request #3377 from HD787/chatReopen
Browse files Browse the repository at this point in the history
sidebar will always reopen with cmd+L or Open chat
  • Loading branch information
sestinj authored Dec 15, 2024
2 parents 4368bf9 + ba751d4 commit 6c499d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions extensions/vscode/src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,8 @@ const getCommandsMap: (
// This is a temporary fix—sidebar.webviewProtocol.request is blocking
// when the GUI hasn't yet been setup and we should instead be
// immediately throwing an error, or returning a Result object

focusGUI();
if (!sidebar.isReady) {
focusGUI();

const isReady = await waitForSidebarReady(sidebar, 5000, 100);
if (!isReady) {
return;
Expand Down

0 comments on commit 6c499d4

Please sign in to comment.