nick black
1b32823e42
bulk up ResizeThenRotateFromFile test
2021-06-27 07:38:40 -04:00
nick black
cbc9a6ce6e
rotate_visual: throw in some diagnostics
2021-06-27 07:38:40 -04:00
nick black
3896b7f50b
allow add_*_escapes() to be called multiple times
2021-06-27 07:38:40 -04:00
nick black
95a4511045
drop ownership in ffmpeg routines #1800
2021-06-27 07:38:40 -04:00
nick black
64abad918e
fix up LayoutLeadingSpaces test not to send tabs
2021-06-27 07:17:56 -04:00
joseLuís
c69c14e5be
[rust] keep on solving multiple architecture bugs #1339
...
- fix notcurses_debug test on s390x & ppc64le.
- fix NcChannels parameters for NcPlane methods gradient & gradient_sized.
- fix ncplane_gradient & ncplane_gradient_sized on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix ncdirect_hline_interp & ncdirect_vline_interp on i686 & arm7hl by reimplementing them as a thin wrapper.
- fix some docs & do some minimal refactoring.
2021-06-27 13:12:26 +02:00
nick black
7361683d3b
deny control characters in cells and plane emissions #1840
2021-06-27 03:16:24 -04:00
nick black
afffc96508
add compare_versions, don't use C=1 with kitty < 0.20.0
2021-06-27 01:37:51 -04:00
nick black
42fee43cf2
only set pixel_cursor_hack if cursor is hidden
2021-06-27 01:37:51 -04:00
nick black
f6f3d633ae
ffmpeg: don't stick new data in details #1800
2021-06-27 01:37:51 -04:00
nick black
6aee702291
honor LINES/COLUMNS if TIOCGWINSZ fails #1826
2021-06-26 22:30:51 -04:00
nick black
81ee3a8d95
ncvisual_rotate: no need to force rgba explicitly #1800
2021-06-26 21:54:16 -04:00
nick black
e32ae497d2
unit test for rotate+resize+render #1800
2021-06-26 21:52:39 -04:00
nick black
afbdee5ae5
extract build_supported_styles() into its own function
2021-06-26 21:52:39 -04:00
nick black
5d92bcb69b
find readline properly on freebsd
2021-06-26 22:20:16 -03:00
nick black
23b19581e8
fix up freebsd11 build (dump getrandom(2))
2021-06-26 21:51:22 -03:00
nick black
e287187108
fix up is_linux_console() for non-linux builds
2021-06-26 20:49:09 -04:00
nick black
a16cd3be31
rotate PoCPP was basically a PoC, move to src/poc/ #1800
2021-06-26 20:28:54 -04:00
nick black
68e498a583
ncls: disable cursor
2021-06-26 20:21:20 -04:00
nick black
e813e3abe4
ncls: default to NCBLIT_PIXEL #1835
2021-06-26 20:17:37 -04:00
nick black
845ab5cdf9
Fix 'Name' fields in pkgconfig files
2021-06-26 18:27:28 -04:00
nick black
88a369e997
[normal] don't run without utf8
2021-06-26 18:08:46 -04:00
joseLuís
0760223fb5
[rust] add NCOPTION_PRESERVE_CURSOR
2021-06-26 12:50:32 +02:00
joseLuís
8cc32fd065
[rust] bring back NCSTYLE_BLINK
2021-06-26 12:42:07 +02:00
joseLuís
cadca69138
[rust] fix the NcEgc
mess.
...
- An `EGC` is an UTF-8 string of length 1, not a unicode code point (char).
- remove the `NcEgc` type and use `&str` and `String`, instead (for now).
- update some docs.
- rustfmt.
2021-06-26 12:33:04 +02:00
nick black
dc6f697995
interp PoC: less debugging cruft
2021-06-26 04:26:19 -04:00
nick black
8fe8e35efe
set quadrants for linux console only if we reprogrammed the font, or found them
2021-06-26 03:43:31 -04:00
nick black
5c0f06eaf3
[outro] make it work in ascii
2021-06-26 03:32:43 -04:00
nick black
ed89e4f9c9
stop using sgr entirely #1818
2021-06-26 02:03:54 -04:00
nick black
8c37c56d29
colorize supported vs non-supported caps in notcurses-info
2021-06-26 02:03:34 -04:00
nick black
aa716d6814
add NCSTYLE_BLINK back to documentation #1818
2021-06-26 01:16:02 -04:00
nick black
9973788efb
restore NCSTYLE_BLINK for now, add 25m to turn it off #1818
2021-06-26 01:14:13 -04:00
nick black
8a265920b7
unify style backends for direct+rendered modes #1818
2021-06-26 00:46:26 -04:00
nick black
5c4e8f8536
new coerce_styles to replace term_setstyles
...
Add new internal function coerce_styles(). This only,
and explicitly, attempts to work on UNDERLINE, BOLD, ITALICS,
STRUCK, and UNDERCURL. It does not use sgr0, eliminating the
need to recover colors on a style change. It furthermore fixes
a bug when undercurl and underline changed at the same time.
Finally, it is written in a way suitable for calling from
ncdirect, meaning we can eliminate the duplicated code
therein (its own copy of term_setstyles()) #1818 .
2021-06-26 00:23:45 -04:00
nick black
5377197600
notcurses-info: colorize sextants, quadrants, halfblocks
2021-06-26 00:21:01 -04:00
nick black
63271e5f54
add ESCAPE_NOBOLD (sgr22) to avoid sgr0 #1818
2021-06-26 00:20:43 -04:00
nick black
8cb70a30bb
ncdirect: send sgr0 and sgr to the same FILE, kill DIM/REVERSE #1818
2021-06-25 23:44:32 -04:00
nick black
3c75654b67
move is_linux_console to interrogate_term() so it's used in direct mode #1828
2021-06-25 22:54:58 -04:00
nick black
b425771bce
don't install notcurses-tester.1 if not installing notcurses-tester #1824
2021-06-25 14:40:22 -04:00
nick black
2f24e221f3
CMake: don't install ncls/ncplayer man pages if they're not built #1824
2021-06-25 14:27:09 -04:00
nick black
f8f44cf7d2
notcurses-info: colorize braille
2021-06-25 01:25:49 -04:00
nick black
bf114aea48
notcurses-info: colorize eighths
2021-06-25 00:44:26 -04:00
nick black
4eeb61a691
notcurses-info: colorize symbols for legacy computing
2021-06-25 00:35:15 -04:00
nick black
36813470fc
grammar fix in comment
2021-06-25 00:22:04 -04:00
nick black
1b613835dc
notcurses-info: color the braille
2021-06-25 00:21:08 -04:00
nick black
7323b3e8f6
add link to mintty tips page
2021-06-25 00:21:08 -04:00
nick black
8b0c138b72
hey, VTE supports ucurl, sweet
2021-06-25 00:21:08 -04:00
nick black
b1fd24a970
notcurses-info: use some coloring #1823
2021-06-25 00:21:08 -04:00
nick black
5f06c2eef9
account for initial output lines for scrolling #1823
2021-06-25 00:21:08 -04:00
nick black
e74070fd32
somewhat daring and dangerous scrolling for rendered mode #1823
2021-06-25 00:21:08 -04:00