nick black
8a265920b7
unify style backends for direct+rendered modes #1818
3 years ago
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 .
3 years ago
nick black
5377197600
notcurses-info: colorize sextants, quadrants, halfblocks
3 years ago
nick black
63271e5f54
add ESCAPE_NOBOLD (sgr22) to avoid sgr0 #1818
3 years ago
nick black
8cb70a30bb
ncdirect: send sgr0 and sgr to the same FILE, kill DIM/REVERSE #1818
3 years ago
nick black
3c75654b67
move is_linux_console to interrogate_term() so it's used in direct mode #1828
3 years ago
nick black
b425771bce
don't install notcurses-tester.1 if not installing notcurses-tester #1824
3 years ago
nick black
2f24e221f3
CMake: don't install ncls/ncplayer man pages if they're not built #1824
3 years ago
nick black
f8f44cf7d2
notcurses-info: colorize braille
3 years ago
nick black
bf114aea48
notcurses-info: colorize eighths
3 years ago
nick black
4eeb61a691
notcurses-info: colorize symbols for legacy computing
3 years ago
nick black
36813470fc
grammar fix in comment
3 years ago
nick black
1b613835dc
notcurses-info: color the braille
3 years ago
nick black
7323b3e8f6
add link to mintty tips page
3 years ago
nick black
8b0c138b72
hey, VTE supports ucurl, sweet
3 years ago
nick black
b1fd24a970
notcurses-info: use some coloring #1823
3 years ago
nick black
5f06c2eef9
account for initial output lines for scrolling #1823
3 years ago
nick black
e74070fd32
somewhat daring and dangerous scrolling for rendered mode #1823
3 years ago
nick black
30b9e2b6fb
get NCSTYLE_STRUCK into supported_styles
3 years ago
nick black
c0a61357d8
notcurses-info: print check/x for styles
3 years ago
nick black
9ed9f6bfc0
add USE_READLINE cmake flag
3 years ago
nick black
186049b3b5
cjkscroll PoC: use NO_ALTERNATE_SCREEN|PRESERVE_CURSOR #1823
3 years ago
nick black
c21cadb6e7
scroll PoC: use NO_ALTERNATE_SCREEN|PRESERVE_CURSOR #1823
3 years ago
nick black
1c38c8b39a
notcurses-info: set scrolling on standard plane #1823
3 years ago
nick black
e734409187
implement NCOPTION_PRESERVE_CURSOR #1823
3 years ago
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
3 years ago
nick black
166212f234
document NCOPTION_PRESERVE_CURSOR #1823
3 years ago
nick black
fd8875e757
notcurses-info: move to rendered mode output #1823
3 years ago
nick black
c0a73b939b
some fatty did eat the oslo accords
3 years ago
igo95862
cd225334b8
workflow: Added apt update to fix installation
3 years ago
nick black
e44ee78b2e
sgr-full: explore entire style space #1818
3 years ago
nick black
9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818
3 years ago
nick black
d08b65f323
ncdirect_stream(): if bitmap wraps the screen, move up one more y #1820
3 years ago
nick black
7b570ba813
direct mode: don't scroll on image out due to overambitious sizing #1804
3 years ago
nick black
481d539092
v2.3.6
3 years ago
nick black
2ee6e23071
rust: no more NCSTYLE_STANDOUT
3 years ago
nick black
ce073d22ac
fallin demo: no write to failed alloc
3 years ago
nick black
4064ede06c
sprixel_auxiliary_vector: don't deref NULL on alloc failure
3 years ago
nick black
9395245b31
ncpp::mergedown: don't allow NULL dest anymore
3 years ago
nick black
742ae4ea5f
ncinputlater_add_input_escape: don't write to NULL on malloc failure
3 years ago
nick black
8ff8368fe1
manually add u7 on kitty if missing, sigh #1816
3 years ago
nick black
383678da4e
move remainder of debug_caps into notcurses-info #1793
3 years ago
nick black
5998b965c4
we've not supported NCSTYLE_PROTECT since forever
3 years ago
nick black
8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818
3 years ago
nick black
8a98a98b7e
term_debug: move style code into notcurses-info #1793
3 years ago
nick black
0e9641e0f5
direct mode: kill a bunch of style-related duplication
3 years ago
nick black
cba21d24fa
tighten up term_debug_caps() a bit #1793
3 years ago
nick black
2ed1ad466f
term_debug_caps: move big unicode block to notcurses-info #1793
3 years ago
nick black
42f9419006
debug_term: use unicode checks/xs when available
3 years ago
nick black
ac652ac7f3
use -Wformat-security
3 years ago