Commit graph

29 commits

Author SHA1 Message Date
jaseg
9efc71de4f Fix incorrect usage of ferror after fclose
Closes #35
2020-12-25 13:42:09 +01:00
josef radinger
a83e59dc25 https instead of http 2019-11-10 16:40:32 +01:00
jaseg
9beb9dbfc5 Fix compiler warning about missing time header 2019-11-10 16:38:35 +01:00
Edgar Fouillet
d92c9b91f7 Add random option 2019-11-10 16:36:39 +01:00
Edgar Fouillet
6e1caef075 lolcat: Fix segfault on launch when LANG is undefined
Closes #27
2019-11-10 16:36:39 +01:00
jaseg
35dca3d0a3 Fix project url and bump version to v1.0
Thanks @bratkartoffel . Closes #23
2019-06-17 11:07:07 +09:00
m3tav3rse
abe2bacbf9 Don't force C.UTF-8 when locale is UTF-8 already
closes #21
2019-06-17 11:07:07 +09:00
jaseg
9a928b9ff4 lolcat: Remove redundant newline at end of output 2019-06-16 21:26:00 +09:00
jaseg
a21247efe1 Pull out inline function to make clang happy
Thanks @Janfel and @dosentmatter for reporting this. Fixes #14.
2018-12-02 13:37:59 +09:00
jaseg
38db5de767 Make functions static 2018-12-02 13:37:31 +09:00
jaseg
da9174ed19 Force encoding to utf8 by default, allow override via -l switch 2018-12-02 13:37:31 +09:00
jaseg
27768b78a4 Fix TTY check for color output
Thanks @BourgeoisBear!
2018-12-02 13:37:51 +09:00
jaseg
e913f914c4 Use wprintf and putwchar instead of printf
Thanks @BourgeoisBear
2018-12-02 13:37:47 +09:00
jaseg
29bc06513d Use wint_t for find_escape_sequences
Thanks @BourgeoisBear
2018-12-02 13:37:31 +09:00
jaseg
ceb4d662f7 Fix color array type 2018-07-22 20:48:30 +02:00
jaseg
fd9436a7f0 auto-format c sources 2018-07-22 20:47:25 +02:00
jaseg
87248c46ff Fix variable scope bug 2018-07-22 20:43:56 +02:00
jaseg
32c34ab174 Remove fmemopen altogether since it just doesn't work.
Closes #9.
2018-07-22 18:39:01 +02:00
jaseg
9f3492f131 Compile dynamically linked executables on MacOS 2016-04-28 22:40:14 +02:00
jaseg
dd685e3d8b Formatting fixes 2016-04-27 20:33:31 +02:00
jaseg
84dc917720 Link statically against musl 2015-07-07 02:49:51 +02:00
jaseg
5bd8c7dcca Fixed mulit-column character handling 2014-10-26 13:31:39 +01:00
jaseg
dd087f64ee Removed an obsolete comment 2014-10-26 11:25:37 +01:00
jaseg
1a7b19cd24 Made lolcat clean up after itself by resetting the term color 2014-10-25 16:44:33 +02:00
jaseg
01c43f14c2 Made the newline behavior compliant with the one of cat(1) 2014-10-25 16:39:50 +02:00
jaseg
14b47df452 Fixed --help, also added some randomness. 2014-10-25 16:31:26 +02:00
jaseg
e9a8e1c85a Fixed escape sequence pass-through 2014-10-24 15:27:44 +02:00
jaseg
1a1eb5a541 Added a LICENSE 2014-10-24 11:13:57 +02:00
jaseg
c607661ffa Initial commit 2014-10-24 11:12:03 +02:00