Skip to content

Commit 6c9f20f

Browse files
committed
fix: tab key on direct completion
1 parent 300432f commit 6c9f20f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/renderer/utils/shell-integration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,7 @@ export class ShellIntegrationAddon implements ITerminalAddon {
829829
}
830830
return matched
831831
}
832+
if (item.value === item.query) return false
832833
const back = item.query.length
833834
if (isEnterPressing && item.value.length === back) return false
834835
this._applyCompletion(item.value, back)

0 commit comments

Comments
 (0)