mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 09:13:07 +02:00
TERMINAL: Fix autocompletion when running scripts with the "./" command (#900)
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user