summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-07-16Fix version number in autotools and PKGBUILD build scriptsjaseg2-2/+2
2024-07-16ignore `lolcat` and `censor`, add Debian dependencyEllam ByDefault2-0/+4
2024-07-04Bump version to v1.5v1.5jaseg1-1/+1
2024-07-04Make lolcat interleave nicely with non-colored stderrjaseg1-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-26Bump version to v1.4v1.4jaseg1-1/+1
2023-02-26Fix handling of repeated escape sequences and certain XTERM title sequencesjaseg1-16/+46
2022-11-19Bump version to v1.3v1.3jaseg3-3/+3
2022-11-19Extend escape sequence parser to support various ST-terminated sequencesjaseg1-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-19Remove redundant codejaseg1-70/+0
2022-11-19Add --gradient option, allow specification of custom gradients.jaseg4-20/+467
Closes #47
2022-11-19Add new option `--invert`.Nor Khasyatillah1-3/+18
2022-11-19Add new option `--seed`Nor Khasyatillah1-1/+13
2022-11-19Add 16-color mode for limited terminalsjaseg1-1/+16
closes #43
2021-10-14build: Add autotools option for those who want itDaniel Santos4-0/+85
Closes #40.
2021-07-28Add manual start color offsetThomas Friese1-3/+13
2021-01-16Bump version to v1.2v1.2jaseg1-1/+1
2021-01-16Fix linker argument order (fixes #36)jaseg1-3/+4
Thanks @elig0n !
2020-12-25Bump version to v1.1v1.1jaseg1-1/+1
2020-12-25Fix variable scoping errorjaseg1-1/+1
2020-12-25Add fallback for locale-setting on systems without C.UTF-8 localejaseg1-4/+7
2020-12-25Add random support for rgb modejaseg1-1/+1
2020-12-25Update help string for long optionsjaseg1-9/+10
2020-12-25Add long option namesjaseg1-6/+6
2020-12-25Add daytime offset to 24-bit rgb color option toojaseg1-1/+1
2020-12-25Add help string for -b 24-bit rgb color optionjaseg1-0/+2
2020-12-25Make rgb rainbow match xterm palette more closelyjaseg1-5/+9
2020-12-25Make rgb support off-by-defaultjaseg1-3/+3
2020-12-25add RGB 24bits color support (default)Remy Noulin2-4/+17
Option -8bits is for 256 colors lolcat.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-)
2020-12-25Fix incorrect usage of ferror after fclosejaseg1-3/+7
Closes #35
2020-11-22Update Makefileara.t.howard1-1/+1
-Wno-sign-compare
2020-11-22set compiler optimization optionKian Kasad1-1/+1
2020-08-13Update README.mdcheese11-0/+6
2019-11-10https instead of httpjosef radinger1-3/+3
2019-11-10Fix compiler warning about missing time headerjaseg1-0/+1
2019-11-10Add random optionEdgar Fouillet1-2/+11
2019-11-10Makefile: remove -g from default cc commandEdgar Fouillet1-3/+5
2019-11-10lolcat: Fix segfault on launch when LANG is undefinedEdgar Fouillet1-1/+2
Closes #27
2019-06-17Fix project url and bump version to v1.0jaseg1-4/+4
Thanks @bratkartoffel . Closes #23
2019-06-17Don't force C.UTF-8 when locale is UTF-8 alreadym3tav3rse1-1/+1
closes #21
2019-06-16lolcat: Remove redundant newline at end of outputjaseg1-1/+1
2019-03-19README.md: Don't use yaourt on Arch (#17)Ricardo Band1-1/+3
Removed the aur helper. The new guide works for everyone. See https://wiki.archlinux.org/index.php/AUR_helpers#Discontinued_or_problematic
2018-12-02Pull out inline function to make clang happyv1.0jaseg1-11/+11
Thanks @Janfel and @dosentmatter for reporting this. Fixes #14.
2018-12-02Make functions staticjaseg1-3/+3
2018-12-02Force encoding to utf8 by default, allow override via -l switchjaseg1-1/+8
2018-12-02Fix TTY check for color outputjaseg1-2/+5
Thanks @BourgeoisBear!
2018-12-02Use wprintf and putwchar instead of printfjaseg1-7/+7
Thanks @BourgeoisBear
2018-12-02Use wint_t for find_escape_sequencesjaseg1-1/+1
Thanks @BourgeoisBear
2018-07-22Fix color array typejaseg1-1/+1
2018-07-22auto-format c sourcesjaseg2-105/+110
2018-07-22Fix variable scope bugjaseg1-2/+2