mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +01:00
fixed folder adding space in autocom
This commit is contained in:
parent
34fa906013
commit
d6ea9c55b1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -215,7 +215,7 @@ export function TerminalInput({ terminal, router, player }: IProps): React.React
|
||||
|
||||
let newValue = tabCompletion(command, arg, allPos, value);
|
||||
if (typeof newValue === "string" && newValue !== "") {
|
||||
if (!newValue.endsWith(" ") && allPos.length === 1) newValue += " ";
|
||||
if (!newValue.endsWith(" ") && !newValue.endsWith("/") && allPos.length === 1) newValue += " ";
|
||||
saveValue(newValue);
|
||||
}
|
||||
if (Array.isArray(newValue)) {
|
||||
|
Loading…
Reference in New Issue
Block a user