Commit Graph

5946 Commits

Author SHA1 Message Date
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
nick black
481d539092
v2.3.6 2021-06-23 22:35:19 -04:00
nick black
2ee6e23071
rust: no more NCSTYLE_STANDOUT 2021-06-23 22:22:11 -04:00
nick black
ce073d22ac
fallin demo: no write to failed alloc 2021-06-23 22:09:33 -04:00
nick black
4064ede06c
sprixel_auxiliary_vector: don't deref NULL on alloc failure 2021-06-23 22:04:00 -04:00
nick black
9395245b31
ncpp::mergedown: don't allow NULL dest anymore 2021-06-23 22:03:05 -04:00
nick black
742ae4ea5f
ncinputlater_add_input_escape: don't write to NULL on malloc failure 2021-06-23 22:01:03 -04:00
nick black
8ff8368fe1
manually add u7 on kitty if missing, sigh #1816 2021-06-23 21:55:01 -04:00
nick black
383678da4e
move remainder of debug_caps into notcurses-info #1793 2021-06-23 21:46:08 -04:00
nick black
5998b965c4
we've not supported NCSTYLE_PROTECT since forever 2021-06-23 21:26:29 -04:00
nick black
8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 2021-06-23 21:23:12 -04:00