From df958749d129bc557b8ce720cfba6457ac4a4149 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Sat, 11 Feb 2023 14:19:02 +0100 Subject: [PATCH] Add character count to stats --- plugs/core/stats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugs/core/stats.ts b/plugs/core/stats.ts index fb56176b..27307a2a 100644 --- a/plugs/core/stats.ts +++ b/plugs/core/stats.ts @@ -16,6 +16,6 @@ export async function statsCommand() { const wordCount = countWords(text); const time = readingTime(wordCount); await editor.flashNotification( - `${wordCount} words; ${time} minutes read; ${allPages.length} total pages in space.`, + `${text.length} characters; ${wordCount} words; ${time} minutes read; ${allPages.length} total pages in space.`, ); }