jaseg
1212a9cc6c
Correct DESTDIR/PREFIX usage in Makefile
...
Closes #56
2024-07-16 11:43:44 +02:00
jaseg
621b604edd
Add CPPFLAGS and LDFLAGS to compiler invocation
...
Fixes #57
2024-07-16 11:39:09 +02:00
jaseg
1ea54a14d5
Make images embedded in README use relative paths
...
Fixes #59
2024-07-16 11:36:46 +02:00
jaseg
e460e3d132
Add a little release script to keep the version numbers in sync
...
Fixes #58
2024-07-16 11:35:08 +02:00
jaseg
10b56bcdc2
Fix version number in autotools and PKGBUILD build scripts
2024-07-16 11:24:39 +02:00
Ellam ByDefault
bfd7446198
ignore lolcat and censor, add Debian dependency
2024-07-16 11:16:39 +02:00
jaseg
a9ab81839f
Bump version to v1.5
2024-07-04 11:49:59 +02:00
jaseg
f2c26ed7a7
Make lolcat interleave nicely with non-colored stderr
...
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!
2024-07-04 11:45:58 +02:00
jaseg
dc3ddf3950
Bump version to v1.4
2023-02-26 18:57:20 +01:00
jaseg
f25a84cc4d
Fix handling of repeated escape sequences and certain XTERM title sequences
2023-02-26 18:56:57 +01:00
jaseg
a087460a99
Bump version to v1.3
2022-11-19 17:40:06 +01:00
jaseg
8241091f59
Extend escape sequence parser to support various ST-terminated sequences
...
This improves interactions with programs using them to set the terminal
window title or display images among other things.
Closes #42 .
2022-11-19 17:31:34 +01:00
jaseg
4d7a6c3bba
Remove redundant code
2022-11-19 14:24:45 +01:00
jaseg
8ed4ce20a5
Add --gradient option, allow specification of custom gradients.
...
Closes #47
2022-11-19 14:24:04 +01:00
Nor Khasyatillah
6db5a0fa50
Add new option --invert.
2022-11-19 13:00:17 +01:00
Nor Khasyatillah
37bb84e297
Add new option --seed
2022-11-19 12:49:46 +01:00
jaseg
2a23642da7
Add 16-color mode for limited terminals
...
closes #43
2022-11-19 12:41:00 +01:00
Daniel Santos
8173ed8cb6
build: Add autotools option for those who want it
...
Closes #40 .
2021-10-14 23:11:20 +02:00
Thomas Friese
1d52554cb1
Add manual start color offset
2021-07-28 13:00:07 +02:00
jaseg
6a2ab611a7
Bump version to v1.2
2021-01-16 13:23:22 +01:00
jaseg
0039b3f832
Fix linker argument order ( fixes #36 )
...
Thanks @elig0n !
2021-01-16 13:21:53 +01:00
jaseg
a1dfac8cf4
Bump version to v1.1
2020-12-25 15:54:19 +01:00
jaseg
8d54f67f41
Fix variable scoping error
2020-12-25 15:54:09 +01:00
jaseg
b6480279fb
Add fallback for locale-setting on systems without C.UTF-8 locale
2020-12-25 15:47:08 +01:00
jaseg
e6103e70be
Add random support for rgb mode
2020-12-25 15:38:30 +01:00
jaseg
a924f2a523
Update help string for long options
2020-12-25 15:38:21 +01:00
jaseg
460259df6f
Add long option names
2020-12-25 15:08:16 +01:00
jaseg
cac1312906
Add daytime offset to 24-bit rgb color option too
2020-12-25 15:08:06 +01:00
jaseg
861fc46bb3
Add help string for -b 24-bit rgb color option
2020-12-25 15:07:12 +01:00
jaseg
e6d4480145
Make rgb rainbow match xterm palette more closely
2020-12-25 14:47:15 +01:00
jaseg
2f5d7ab8c0
Make rgb support off-by-default
2020-12-25 14:47:00 +01:00
Remy Noulin
36cce5225b
add RGB 24bits color support (default)
...
Option -8bits is for 256 colors
lolcat.c | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
2020-12-25 14:46:43 +01:00
jaseg
9efc71de4f
Fix incorrect usage of ferror after fclose
...
Closes #35
2020-12-25 13:42:09 +01:00
ara.t.howard
5b97d040b3
Update Makefile
...
-Wno-sign-compare
2020-11-22 12:58:11 +01:00
Kian Kasad
931f28e08d
set compiler optimization option
2020-11-22 12:55:57 +01:00
cheese1
9df2d9edef
Update README.md
2020-08-13 13:07:50 +02: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
92831e54d8
Makefile: remove -g from default cc command
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
Ricardo Band
176478b36e
README.md: Don't use yaourt on Arch ( #17 )
...
Removed the aur helper. The new guide works for everyone.
See https://wiki.archlinux.org/index.php/AUR_helpers#Discontinued_or_problematic
2019-03-19 08:48:25 +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