Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

Commit

Permalink
Add some useful logs
Browse files Browse the repository at this point in the history
  • Loading branch information
esotericenderman committed Oct 18, 2024
1 parent 11578a8 commit 3d2cf04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ const getMatch = () => {
return null
}

console.log("Currently typing: " + currentlyTypingString);
console.log("Slice: " + currentlyTypingString.slice(0, currentlyTypingString.length - terminateSequence.length))

const letter = invertedMorseCode[currentlyTypingString.slice(0, currentlyTypingString.length - terminateSequence.length)];

console.log("Matched letter: " + letter);
Expand Down

0 comments on commit 3d2cf04

Please sign in to comment.