aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-10 22:03:29 +0200
committerMattias Andrée <maandree@kth.se>2021-04-10 22:03:29 +0200
commit4dfd8b7b3a1b7c1bab141a3e503bed77b2198aa0 (patch)
tree19a9f2ff9706a0b3339b64875fe0e7b6fa808a2d /libterminput.c
parentAdd final tests for mouse tracking (diff)
downloadlibterminput-4dfd8b7b3a1b7c1bab141a3e503bed77b2198aa0.tar.gz
libterminput-4dfd8b7b3a1b7c1bab141a3e503bed77b2198aa0.tar.bz2
libterminput-4dfd8b7b3a1b7c1bab141a3e503bed77b2198aa0.tar.xz
Add last test
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libterminput.c')
-rw-r--r--libterminput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libterminput.c b/libterminput.c
index 2eb6b95..81656aa 100644
--- a/libterminput.c
+++ b/libterminput.c
@@ -800,7 +800,7 @@ again:
p = stpcpy(&ctx->key[n], ret.symbol);
/* Check if sequence is complete */
continue_incomplete:
- if (!isalpha(p[-1]) && p[-1] != '~' && p[-1] != '@' && p[-1] != '^' && p[-1] != '$') { /* TODO test */
+ if (!isalpha(p[-1]) && p[-1] != '~' && p[-1] != '@' && p[-1] != '^' && p[-1] != '$') {
input->type = LIBTERMINPUT_NONE;
return 1;
} else if (ctx->key[0] == '[' && ctx->key[1] == '<' && p == &ctx->key[2]) {