Commit Graph

264 Commits (88178067f7dd7a83017a05b4f9b2e76d82dc21c8)

Author SHA1 Message Date
nick black fec64cfc33 [core] use pthread_condattr_setclock rather than pthread_cond_clockwait() #2302 3 years ago
nick black 6e2ab83a08
[utils] declare notcurses_osversion #2293 3 years ago
nick black 2c8286c099 stacking tests: ncvisual_render() -> ncvisual_blit() #1462 3 years ago
nick black bb2004e589 ncvisual_render -> ncvisual_blit (docs) 3 years ago
nick black 2148bcc4f2
Revert "[nckeys] move from PUA-B to 'plane 18' #2247"
This reverts commit e83f1f5ba3.
3 years ago
nick black e83f1f5ba3
[nckeys] move from PUA-B to 'plane 18' #2247 3 years ago
nick black a8b3634ca7 [ncvisual] add pxoffy+pxoffx fields to ncvisual_options #1682 3 years ago
nick black 6d3c64a5c1
[ncvisual_pixelgeom] document that results are invalidated by terminal resize #2141 3 years ago
nick black 9185ea000c
add ncplane_set_name()/ncplane_name() + documentation 3 years ago
nick black 518eca2f60
move_family_{below,above}() need return int #2232 3 years ago
nick black 43fc6afaa3
ncplane_move_family_{above, below}() #2232 3 years ago
nick black e42a76a2d2
Remove and replace ncplane_boundlist()
The function ncplane_boundlist() was poorly-considered,
and ought never have existed. Remove all traces of it.
Add the new functions ncplane_move_family_top() and
ncplane_move_family_bottom(). Replace the
ncplane_boundlist() code in notcurses-demo with a call
to ncplane_move_family_top(). We'll also want
ncplane_move_family_above() and ncplane_move_family_below(),
but they're not yet here. Document all z-axis movement
functions; they were lacking documentation before #2232.
3 years ago
nick black 436f24c770
Remove libreadline support, implement low-level ncdirect_readline #2211 (#2212)
It was realized that our libreadline wrapper was incompatible with the new input method, indeed fundamentally so. Rip out all libreadline support. Implement a minimal ncdirect_readline() -- quite minimal, but enough to get by. We'll want to fill this out later.

So no ABI/API breakage, though perhaps some visible behavioral change.
3 years ago
nick black 72757044da [ncplane_erase_region] generalize #2181 3 years ago
nick black 3faf8ee3fb
[input] introduce NCKEY_EOF #2185 3 years ago
nick black ea5da346f0
Add keytype indicator to notcurses-input #2182 3 years ago
nick black 99007e128c
[input] add evtype to ncinput, for press/repeat/release #2182 3 years ago
nick black 5eed1abe8e notcurses_get: restore old delaybound behavior #2169 3 years ago
joseLuís 17133fb4f9 remove old reference to sigmask in notcurses_get
and update description for the same function in USAGE.md
3 years ago
nick black 3cf5a67b84
input thread #2136 3 years ago
nick black 4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 3 years ago
nick black 54cf38b076
add ncstrwidth_valid() and documentation #2153 3 years ago
nick black 1571bfee72 pixelplots: paint only through egcidx #1382 3 years ago
nick black ed557257d9 add notcurses_{enter,leave}_alternate_screen #2082 3 years ago
nick black b978f58985 stop supporting/advertising renderfp #2081 3 years ago
nick black e35c49889d
ncchannel: make some unsigneds explicit uint32_ts 3 years ago
nick black 4d6526a61d ncneofetch rewritten in CLI mode
ncneofetch was previously direct mode followed by rendered mode with
margins, a Frankenstein application if one ever existed. Rewrite it
using CLI mode, extending the latter as necessary to accomplish this
task. We now have one fewer dependency on direct mode, we have better
proven out CLI mode, and we get a ~30% reduction in ncneofetch runtime.
Good stuff! Closes #2030.

Add ncplane_scrollup() and ncplane_scrollup_child()
Cleans up ncport.h
Eliminates some inconsequential memory leaks in ncneofetch
Add SPRIXEL_UNSEEN to avoid invalid moves on
 not-yet-displayed sprixels
3 years ago
nick black b0b5e49383 ncvisual_from_palidex 3 years ago
nick black 1448960cd5 start handling type-1 DVB subtitles #1311 3 years ago
nick black 7b5f4175eb
add nccell_cols(), deprecate nccell_width() 3 years ago
nick black 0a6fd661b4 set_rgb: unsigned unless we're clipping 3 years ago
nick black 0d289958f9
death to sigset_t #1967 3 years ago
nick black 1fae68d9c6
add NCPLANE_OPTION_FIXED #1909 3 years ago
nick black 12000dea27
throw some nonnull love into notcurses.h 3 years ago
Tomek Szczęsny 0baf4ea1b5
Relative cursor move (#1885)
Relative cursor move by @tomek-szczesny
3 years ago
nick black 92293dd402
adapt new python to NCCHANNEL 3 years ago
nick black 83d8724e63
updating CELL_ -> NC_ references 3 years ago
nick black 14a50cfa3f
add ncchannels_reverse, use it in ncmenu, add unit test #1878 3 years ago
nick black 8846e3cee2
ncdirect_putegc(), get true width in ncwidth #1899 3 years ago
nick black 00e28cc569
complete ncplane_cursor_move_yx() documentation 3 years ago
nick black 43f0a2e5c8
remove false comments on ncplane_move_yx() 3 years ago
nick black cd80b70594
add ncplane_moverel(), no unit tests though =[ #1881 3 years ago
nick black f1202df541
document ncplane_cursor_move_yx better #1882 3 years ago
nick black a749ede622
USAGE: elaborate on ncplane_set_*_palindex #1554 3 years ago
nick black aa716d6814
add NCSTYLE_BLINK back to documentation #1818 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 9d7f07771b
GTFO NCSTYLE_DIM, NCSTYLE_REVERSE #1818 3 years ago
nick black 8fc2a32990
remove NCSTYLE_{INVIS,BLINK,STANDOUT} #1818 3 years ago
nick black 041f97371f add stat for ASUs and send them #1582 3 years ago
nick black 379453c8ea
render piles to file/buffer
Replace notcurses_render_to_file() and
notcurses_render_to_buffer() with variants that work
on arbitrary piles (the former only worked on the standard
pile). Rewrite the former as trivial wrappers around the
latter, and deprecate the former. Closes #1770.
3 years ago