aboutsummaryrefslogtreecommitdiffstats
path: root/read-quickly.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 13:56:09 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 13:56:09 +0100
commitb630bb2e32ca92750eeae568bf80bf9e1f659279 (patch)
tree18c40de1eb556332bd5a16e3391b2757e367d093 /read-quickly.c
parentUpdate e-mail (diff)
downloadread-quickly-b630bb2e32ca92750eeae568bf80bf9e1f659279.tar.gz
read-quickly-b630bb2e32ca92750eeae568bf80bf9e1f659279.tar.bz2
read-quickly-b630bb2e32ca92750eeae568bf80bf9e1f659279.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--read-quickly.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/read-quickly.c b/read-quickly.c
index acd52a6..b235160 100644
--- a/read-quickly.c
+++ b/read-quickly.c
@@ -35,7 +35,7 @@
/**
- * The a word.
+ * A word.
*/
struct word {
/**
@@ -55,7 +55,7 @@ struct word {
static const char *argv0;
/**
- * Have the terminal been resized?
+ * Has the terminal been resized?
*/
static volatile sig_atomic_t caught_sigwinch = 1;
@@ -174,7 +174,7 @@ get_word_rate(void)
/**
- * Count the number of character in a string.
+ * Count the number of characters in a string.
*
* @param s The string.
* @return The number of characters in `s`.
@@ -450,7 +450,7 @@ main(int argc, char *argv[])
if (display_file(ttyfd, rate))
goto fail;
- /* Restore terminal configurations. */
+ /* Restore terminal configuration. */
tcsetattr(ttyfd, TCSAFLUSH, &saved_stty);
fprintf(stdout, "\033[?25h\033[?1049l");
fflush(stdout);