Commit Graph

12 Commits

Author SHA1 Message Date
Casey fa72c81f70
Added gradient (charmap) module and other stuff
Like uh, UTF-8 encoding/decoding, some fixes in `calc_brightness`,
some changes in `c_fatal` (it now accepts formatting) and some other
things I of course forgot.
Oh yeah, and module now can signal that something went horrubly wrong
and die. Yay!
2022-02-08 21:19:00 +03:00
Casey 283422c62d
It should be PREFIX, not INSTALL_PATH 2022-02-07 12:34:57 +03:00
Casey e931d3d9d8
Added install target bc why not 2022-02-07 12:25:03 +03:00
Casey c9807d3e64
Added test for tcc and license in some files 2022-02-04 21:51:12 +03:00
Casey b2f43307ff
More housekeeping stuff & fixes
* Added `testbuild` target. Used in development to test common
   compilers, as well as check for possible issues via OCLint.
 * `__{blk,bra}_*` now use state to get palette & other options.

TODO: optimize number of ANSI color codes when fg==bg
2022-02-04 18:08:53 +03:00
Casey 2e359443d7 OCLint fixes and some housekeeping stuff
// TODO: convert __bra_* and __blk_* to use palette from state
2022-02-04 15:48:21 +03:00
Casey b28618b7ec License stuff and proper README. And renaming 2022-02-03 23:46:56 +03:00
Casey 47d30d3654 Fixed #1 2022-02-03 22:36:09 +03:00
Casey 321999ef6a Added Braille mode.
NOTE: Does not support 1-bit style. Yet.
2022-02-03 15:41:54 +03:00
Casey ee81a72e56 256-colors palette is now pre-computed on start
That kinda fixes weird issue with vertical stripes
2022-02-03 14:19:39 +03:00
Casey 18701f56a6 Laid out basic project structure 2022-01-31 14:40:06 +03:00
Casey f78f66cf9a Ah shit, here we go again 2022-01-30 23:04:56 +03:00