Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-07-04 | Make lolcat interleave nicely with non-colored stderr | jaseg | 1 | -0/+3 | |
This works by making lolcat always reset the color at the end of a line on its input, and only setting a new color immediately before printing the first character on the next line. This way, assuming that whatever process is piped into lolcat follow the standard convention where stdout is buffered line-wise, and only writes full lines to stderr, a process that outputs to both stdout and stderr but that has only stdout piped through lolcat (as most people would do) would have it's stderr output interleave nicely uncolored with the lolcat-colored stdout output. This won't always work, but it gets us most of the way there with little effort and negligible (2 extra escape sequences per line of output) performance overhead. Thanks to github user @kolayne for reporting this as an issue! | |||||
2023-02-26 | Bump version to v1.4v1.4 | jaseg | 1 | -1/+1 | |
2023-02-26 | Fix handling of repeated escape sequences and certain XTERM title sequences | jaseg | 1 | -16/+46 | |
2022-11-19 | Bump version to v1.3v1.3 | jaseg | 1 | -1/+1 | |
2022-11-19 | Extend escape sequence parser to support various ST-terminated sequences | jaseg | 1 | -10/+48 | |
This improves interactions with programs using them to set the terminal window title or display images among other things. Closes #42. | |||||
2022-11-19 | Remove redundant code | jaseg | 1 | -70/+0 | |
2022-11-19 | Add --gradient option, allow specification of custom gradients. | jaseg | 1 | -14/+193 | |
Closes #47 | |||||
2022-11-19 | Add new option `--invert`. | Nor Khasyatillah | 1 | -3/+18 | |
2022-11-19 | Add new option `--seed` | Nor Khasyatillah | 1 | -1/+13 | |
2022-11-19 | Add 16-color mode for limited terminals | jaseg | 1 | -1/+16 | |
closes #43 | |||||
2021-07-28 | Add manual start color offset | Thomas Friese | 1 | -3/+13 | |
2021-01-16 | Bump version to v1.2v1.2 | jaseg | 1 | -1/+1 | |
2020-12-25 | Bump version to v1.1v1.1 | jaseg | 1 | -1/+1 | |
2020-12-25 | Add fallback for locale-setting on systems without C.UTF-8 locale | jaseg | 1 | -4/+7 | |
2020-12-25 | Add random support for rgb mode | jaseg | 1 | -1/+1 | |
2020-12-25 | Update help string for long options | jaseg | 1 | -9/+10 | |
2020-12-25 | Add long option names | jaseg | 1 | -6/+6 | |
2020-12-25 | Add daytime offset to 24-bit rgb color option too | jaseg | 1 | -1/+1 | |
2020-12-25 | Add help string for -b 24-bit rgb color option | jaseg | 1 | -0/+2 | |
2020-12-25 | Make rgb rainbow match xterm palette more closely | jaseg | 1 | -5/+9 | |
2020-12-25 | Make rgb support off-by-default | jaseg | 1 | -3/+3 | |
2020-12-25 | add RGB 24bits color support (default) | Remy Noulin | 1 | -3/+16 | |
Option -8bits is for 256 colors lolcat.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) | |||||
2020-12-25 | Fix incorrect usage of ferror after fclose | jaseg | 1 | -3/+7 | |
Closes #35 | |||||
2019-11-10 | https instead of http | josef radinger | 1 | -3/+3 | |
2019-11-10 | Fix compiler warning about missing time header | jaseg | 1 | -0/+1 | |
2019-11-10 | Add random option | Edgar Fouillet | 1 | -2/+11 | |
2019-11-10 | lolcat: Fix segfault on launch when LANG is undefined | Edgar Fouillet | 1 | -1/+2 | |
Closes #27 | |||||
2019-06-17 | Fix project url and bump version to v1.0 | jaseg | 1 | -4/+4 | |
Thanks @bratkartoffel . Closes #23 | |||||
2019-06-17 | Don't force C.UTF-8 when locale is UTF-8 already | m3tav3rse | 1 | -1/+1 | |
closes #21 | |||||
2019-06-16 | lolcat: Remove redundant newline at end of output | jaseg | 1 | -1/+1 | |
2018-12-02 | Pull out inline function to make clang happyv1.0 | jaseg | 1 | -11/+11 | |
Thanks @Janfel and @dosentmatter for reporting this. Fixes #14. | |||||
2018-12-02 | Make functions static | jaseg | 1 | -3/+3 | |
2018-12-02 | Force encoding to utf8 by default, allow override via -l switch | jaseg | 1 | -1/+8 | |
2018-12-02 | Fix TTY check for color output | jaseg | 1 | -2/+5 | |
Thanks @BourgeoisBear! | |||||
2018-12-02 | Use wprintf and putwchar instead of printf | jaseg | 1 | -7/+7 | |
Thanks @BourgeoisBear | |||||
2018-12-02 | Use wint_t for find_escape_sequences | jaseg | 1 | -1/+1 | |
Thanks @BourgeoisBear | |||||
2018-07-22 | Fix color array type | jaseg | 1 | -1/+1 | |
2018-07-22 | auto-format c sources | jaseg | 1 | -80/+84 | |
2018-07-22 | Fix variable scope bug | jaseg | 1 | -2/+2 | |
2018-07-22 | Remove fmemopen altogether since it just doesn't work. | jaseg | 1 | -22/+38 | |
Closes #9. | |||||
2016-04-28 | Compile dynamically linked executables on MacOS | jaseg | 1 | -2/+6 | |
2016-04-27 | Formatting fixes | jaseg | 1 | -105/+105 | |
2015-07-07 | Link statically against musl | jaseg | 1 | -4/+2 | |
2014-10-26 | Fixed mulit-column character handling | jaseg | 1 | -2/+2 | |
2014-10-26 | Removed an obsolete comment | jaseg | 1 | -1/+0 | |
2014-10-25 | Made lolcat clean up after itself by resetting the term color | jaseg | 1 | -1/+2 | |
2014-10-25 | Made the newline behavior compliant with the one of cat(1) | jaseg | 1 | -0/+1 | |
2014-10-25 | Fixed --help, also added some randomness. | jaseg | 1 | -18/+70 | |
2014-10-24 | Fixed escape sequence pass-through | jaseg | 1 | -15/+34 | |
2014-10-24 | Added a LICENSE | jaseg | 1 | -0/+15 | |