mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
remove console
This commit is contained in:
parent
d4bf6100a3
commit
2804b6ae56
@ -89,7 +89,6 @@ export function TerminalInput({ terminal, router, player }: IProps): React.React
|
||||
break;
|
||||
case "deletewordbefore": // Delete rest of word before the cursor
|
||||
for (let delStart = start - 1; delStart > -2; --delStart) {
|
||||
console.log(delStart, inputText.charAt(delStart), start - 1)
|
||||
if ((inputText.charAt(delStart) === " " || delStart === -1) && delStart !== start - 1) {
|
||||
saveValue(inputText.substr(0, delStart + 1) + inputText.substr(start), () => {
|
||||
// Move cursor to correct location
|
||||
|
Loading…
Reference in New Issue
Block a user