patch, don't delete non-active steps with cmd+back
This commit is contained in:
parent
5593c72720
commit
856d450c72
3 changed files with 5 additions and 4 deletions
4
extension/package-lock.json
generated
4
extension/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.0.152",
|
||||
"version": "0.0.153",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.0.152",
|
||||
"version": "0.0.153",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
"displayName": "Continue",
|
||||
"pricing": "Free",
|
||||
"description": "The open-source coding autopilot",
|
||||
"version": "0.0.152",
|
||||
"version": "0.0.153",
|
||||
"publisher": "Continue",
|
||||
"engines": {
|
||||
"vscode": "^1.67.0"
|
||||
|
|
|
|||
|
|
@ -147,7 +147,8 @@ function GUI(props: GUIProps) {
|
|||
} else if (
|
||||
e.key === "Backspace" &&
|
||||
e.metaKey &&
|
||||
typeof history?.current_index !== "undefined"
|
||||
typeof history?.current_index !== "undefined" &&
|
||||
history.timeline[history.current_index]?.active
|
||||
) {
|
||||
client?.deleteAtIndex(history.current_index);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue