Skip to content

Commit 79803b0

Browse files
committed
更新package.json,修改了删除命令的触发条件,以避免在输入框聚焦时触发。
1 parent 1ec92ce commit 79803b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"command": "trash4wsl-in-vscode.trashPutViaShortcut",
2525
"key": "delete",
2626
"mac": "delete",
27-
"when": "resourceScheme == 'vscode-remote' && filesExplorerFocus && !explorerResourceIsRoot && resourceSet"
27+
"when": "resourceScheme == 'vscode-remote' && filesExplorerFocus && !explorerResourceIsRoot && resourceSet && !inputFocus"
2828
},
2929
{
3030
"command": "trash4wsl-in-vscode.browseTrash",

0 commit comments

Comments
 (0)