Commit Graph

9 Commits (master)

Author SHA1 Message Date
parazyd d56297fed5 Implement strlcpy to avoid entire libbsd dependency on Linux.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-05-05 12:53:09 +02:00
Hiltjo Posthuma 44f42507f8 fprintunderline: small optimization
Don't run utf8strlen potentially for each character.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:27:40 +02:00
Christoph Lohmann 0e58fcdb30 Add escape possibility for everything. 2020-04-29 19:21:25 +02:00
Hiltjo Posthuma dfe08ef1dd mostly style fixes
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 652effdccb dont override PATH_MAX, include limits.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma ed63e58c93 fix a regression with printing bulletpoints
regression input: "***test***"

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 30eef86b7a use int for return type of fgetc
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Christoph Lohmann c406e1ed7f Add config.mk and Linux support. 2020-04-29 16:33:09 +02:00
Anders Damsgaard d8eed1a767 Rewrite md2point in c and add minimal manpage
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 16:12:35 +02:00