remove console

This commit is contained in:
Billy Vong 2021-12-16 17:03:15 -05:00
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