commit e4acca54529334f3515c30d4228aeaa8fd962982
parent 6687c8d1a95ff6c16b6a44170e3533906921f2cd
Author: gearsix <gearsix@tuta.io>
Date: Sat, 9 Apr 2022 16:33:02 +0100
noticed TODO was out of date
Diffstat:
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/TODO b/TODO
@@ -1,16 +1,24 @@
+
+**legend:**
+
+- `[*]` = done
+- `[x]` = won't do
+- `[?]` = requires review
+- `[ ]` = not started
+
functionality
-------------
-[x] rename writeP
+[*] rename writeP
[*] implement ol
[*] implement ul
[*] implement li
[*] implement h1
[*] implement h2
-[~] implement pre
+[*] implement pre
[ ] add utf-8 support (possibly more)
[x] rename to naml (not another markup language) if it goes beyond txt and/or markdown syntax
-[~] get it working with latest re-works
+[*] get it working with latest re-works
tests
-----
diff --git a/node.c b/node.c
@@ -39,7 +39,7 @@ struct node *node_create(struct node *prev, NodeType t)
return n;
}
-// writebuf has an internal static buffer (`buf`) that it writes `c` to.
+// node_writec has an internal static buffer (`buf`) that it writes `c` to.
// if `c == EOF` or `buf` reaches `BUFSIZ`, then `buf` it's written to n->buf.
// `n->buf` will only be allocated required memory.
void node_writec(struct node **n, int c)