TERMINAL: Fix autocompletion when running scripts with the "./" command (#900)

This commit is contained in:
François Gannaz
2023-10-30 17:32:11 +01:00
committed by GitHub
parent 6f67224146
commit 87e2f5c23b
2 changed files with 10 additions and 1 deletions
+3
View File
@@ -233,6 +233,9 @@ export function TerminalInput(): React.ReactElement {
// Autocomplete
if (event.key === KEY.TAB) {
if (event.altKey || event.ctrlKey) {
return;
}
event.preventDefault();
if (searchResults.length) {
saveValue(searchResults[searchResultsIndex]);