Commit Graph

6006 Commits

Author SHA1 Message Date
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
nick black
30b9e2b6fb get NCSTYLE_STRUCK into supported_styles 2021-06-25 00:21:08 -04:00
nick black
c0a61357d8 notcurses-info: print check/x for styles 2021-06-25 00:21:08 -04:00
nick black
9ed9f6bfc0 add USE_READLINE cmake flag 2021-06-25 00:21:08 -04:00
nick black
186049b3b5 cjkscroll PoC: use NO_ALTERNATE_SCREEN|PRESERVE_CURSOR #1823 2021-06-25 00:21:08 -04:00
nick black
c21cadb6e7 scroll PoC: use NO_ALTERNATE_SCREEN|PRESERVE_CURSOR #1823 2021-06-25 00:21:08 -04:00
nick black
1c38c8b39a notcurses-info: set scrolling on standard plane #1823 2021-06-25 00:21:08 -04:00
nick black
e734409187 implement NCOPTION_PRESERVE_CURSOR #1823 2021-06-25 00:21:08 -04:00
nick black
9f92986a6b always send DSRCPR at init, use it to verify u7
for NCOPTION_PRESERVE_CURSOR, we want to know the location
of the cursor at startup. go ahead and always send a DSRCPR
in terminal interrogation. if we get a reply to it, hey, we
just verified that the terminal knows DSRCPR.

if we find a u7 value in terminfo that's different from the
standard DSRCPR, we ought send that in addition. #1816
2021-06-25 00:21:08 -04:00
nick black
166212f234 document NCOPTION_PRESERVE_CURSOR #1823 2021-06-25 00:21:08 -04:00
nick black
fd8875e757 notcurses-info: move to rendered mode output #1823 2021-06-25 00:21:08 -04:00
nick black
c0a73b939b
some fatty did eat the oslo accords 2021-06-24 06:06:08 -04:00
igo95862
cd225334b8
workflow: Added apt update to fix installation 2021-06-24 07:17:28 +00:00
nick black
e44ee78b2e
sgr-full: explore entire style space #1818 2021-06-24 02:24:27 -04:00
nick black
9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 2021-06-24 02:13:57 -04:00
nick black
d08b65f323
ncdirect_stream(): if bitmap wraps the screen, move up one more y #1820 2021-06-23 23:59:33 -04:00
nick black
7b570ba813 direct mode: don't scroll on image out due to overambitious sizing #1804 2021-06-23 23:06:50 -04:00