Skip to content

Commit

Permalink
morse update
Browse files Browse the repository at this point in the history
  • Loading branch information
katsaii committed Apr 28, 2024
1 parent 37f2181 commit 88682c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion morse-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const writeMorseCodeData = (sb, morse, decoder) => {
sb.write(ruler);
sb.writeVoidTag("br");
sb.writeVoidTag("br");
sb.write(morseBin.replaceAll("1", "▓").replaceAll("0", "˽"));
sb.write(morseBin.replaceAll("1", "▓").replaceAll("0", "_"));
sb.writeVoidTag("br");
sb.write(morse.map(morseWord => morseWord.map(morseLetter => {
const letter = decoder.get(morseLetter) ?? "?";
Expand Down

0 comments on commit 88682c4

Please sign in to comment.