aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:05:00 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:05:00 +0100
commit678aa0aa40db4dc40ffb086c98ad3a2961b56a3d (patch)
treef45dcd083f1fe2dfeae578c406bf7db50ab9230d
parentSome fixes and tests (diff)
downloadlibterminput-9c8ebd71f505d6036e6d09d256d5e6fd31278560.tar.gz
libterminput-9c8ebd71f505d6036e6d09d256d5e6fd31278560.tar.bz2
libterminput-9c8ebd71f505d6036e6d09d256d5e6fd31278560.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--Makefile2
-rw-r--r--common.h2
-rw-r--r--libterminput_init.32
-rw-r--r--libterminput_is_ready.34
-rw-r--r--libterminput_set_flags.34
5 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 7ea07c4..23045d4 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ include $(CONFIGFILE)
OS = linux
# Linux: linux
# Mac OS: macos
-# Windows: windows
+# Windows: windows
include mk/$(OS).mk
diff --git a/common.h b/common.h
index 6278b3e..b8b2801 100644
--- a/common.h
+++ b/common.h
@@ -32,7 +32,7 @@
/**
- * Singlar read symbol
+ * Singular read symbol
*/
struct input {
/**
diff --git a/libterminput_init.3 b/libterminput_init.3
index fa739a0..58668fd 100644
--- a/libterminput_init.3
+++ b/libterminput_init.3
@@ -2,7 +2,7 @@
.SH NAME
libterminput_init \- Configure library for terminal quirks
.br
-libterminput_destory \- Deallocate library configuration resources
+libterminput_destroy \- Deallocate library configuration resources
.SH SYNOPSIS
.nf
diff --git a/libterminput_is_ready.3 b/libterminput_is_ready.3
index c624008..de1e919 100644
--- a/libterminput_is_ready.3
+++ b/libterminput_is_ready.3
@@ -15,13 +15,13 @@ Link with
.SH DESCRIPTION
The
.BR libterminput_is_ready ()
-function check if a call to the
+function checks if a call to the
.BR libterminput_read (3)
function will skip reading from the file
descriptor passed to it because it already
has read data buffered. However, if there
is buffered data but the library knows it
-it not enough to return something they,
+is not enough to return anything yet,
it will also return that there is nothing
buffered.
.PP
diff --git a/libterminput_set_flags.3 b/libterminput_set_flags.3
index fd1df68..7219066 100644
--- a/libterminput_set_flags.3
+++ b/libterminput_set_flags.3
@@ -8,8 +8,8 @@ libterminput_clear_flags \- Remove input parsing flags
.nf
#include <libterminput.h>
-int libterminput_set_flags(struct libterminput_state *ctx *\fIctx\fP, enum libterminput_flags \fIflags\fP);
-int libterminput_clear_flags(struct libterminput_state *ctx *\fIctx\fP, enum libterminput_flags \fIflags\fP);
+int libterminput_set_flags(struct libterminput_state *\fIctx\fP, enum libterminput_flags \fIflags\fP);
+int libterminput_clear_flags(struct libterminput_state *\fIctx\fP, enum libterminput_flags \fIflags\fP);
.fi
.PP
Link with