exit edit mode on cmd+shift+enter
This commit is contained in:
parent
e494122d2f
commit
97a3d26bb5
1 changed files with 7 additions and 3 deletions
|
|
@ -268,6 +268,10 @@ async function processDiff(
|
|||
numDiffs: 0,
|
||||
});
|
||||
}
|
||||
|
||||
if (action === "accept") {
|
||||
await sidebar.webviewProtocol.request("exitEditMode", undefined);
|
||||
}
|
||||
}
|
||||
|
||||
function waitForSidebarReady(
|
||||
|
|
@ -742,8 +746,8 @@ const getCommandsMap: (
|
|||
return;
|
||||
}
|
||||
|
||||
// Clear the sidebar to prevent overwriting changes made in fullscreen
|
||||
vscode.commands.executeCommand("continue.newSession")
|
||||
// Clear the sidebar to prevent overwriting changes made in fullscreen
|
||||
vscode.commands.executeCommand("continue.newSession");
|
||||
|
||||
// Full screen not open - open it
|
||||
captureCommandTelemetry("openFullScreen");
|
||||
|
|
@ -777,7 +781,7 @@ const getCommandsMap: (
|
|||
sessionId,
|
||||
);
|
||||
}
|
||||
sessionLoader.dispose()
|
||||
sessionLoader.dispose();
|
||||
});
|
||||
|
||||
// When panel closes, reset the webview and focus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue