Skip to content

Commit

Permalink
add color text to Pronunciation word
Browse files Browse the repository at this point in the history
  • Loading branch information
mskian committed Aug 4, 2022
1 parent 69f30ba commit b0fe886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
bold,
brightBlue,
brightGreen,
brightMagenta,
brightYellow,
} from "https://deno.land/std@0.150.0/fmt/colors.ts";
import { wait } from "https://deno.land/x/wait@0.1.12/mod.ts";
Expand Down Expand Up @@ -38,7 +39,7 @@ async function getPronunciation(Pronunciation: string) {
console.log("Enter a Any Word to Get Pronunciation -", "Hello World");
} else {
spinner.stop();
console.log(getPronounce);
console.log(brightMagenta(bold(getPronounce)));
}
} else {
spinner.stop();
Expand Down

0 comments on commit b0fe886

Please sign in to comment.