You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the flag NCVISUAL_OPTION_NOINTERPOLATE to use non-interpolative scaling in ncvisual_render(). ncvisual_render() without a multimedia engine will now use this method for any requested scaling (previously, scaling was not performed without a linked multimedia backend).
NCVISUAL_OPTION_BLEND used with NCBLIT_PIXEL will now, when the Kitty graphics protocol is in use, cut the alpha of each pixel in half.
ncvisual_inflate() has been rewritten as a wrapper around the new function ncvisual_resize_noninterpolative(), and deprecated. It will be removed for ABI3. Godspeed, ncvisual_inflate(); we hardly knew ye.
ncdirectf_render() has been changed to accept a ncvisual_options, replacing and extending its four final arguments. Sorry about the breakage here, but ncdirectf_render() was introduced pretty recently (2.3.1). As a result, ncdirectf_render() and ncdirect_stream() now honor NCVISUAL_OPTION_BLEND and NCVISUAL_OPTION_NOINTERPOLATE. All of this also applies to ncdirect_geomf().
ncplayer now accepts -n to force non-interpolative scaling.
A new binary is installed, notcurses-info. It prints information about the terminal environment in which it runs. More information is available from its man page, notcurses-info(1).
Added ncdirect_light_box(), ncdirect_heavy_box(), nccells_light_box(), and nccells_heavy_box(). Publicized nccells_ascii_box(). All are static inline.
A bug was fixed in ncplane_move_yx(): root planes were being moved relatively instead of absolutely. This was never the intended behavior.
It was previously possible to pass NULL as the second parameter of ncplane_mergedown_simple(), and have the standard plane be used as the destination. This is no longer supported, since the source plane could be in another pile. An error will instead be returned.
Fixed a bug in ncdirect_box() where default/palette-indexed colors weren't properly used on the top and bottom borders.
Added notcurses_detected_terminal() and ncdirect_detected_terminal().