Commit Graph

140 Commits (master)

Author SHA1 Message Date
nick black 89e9be0b3c
[info] use gradient based on the detected palette #2568 2 years ago
nick black 23b3308c7a
[info] don't stain the emoji line 2 years ago
nick black 6b461c89cf
report pixel mice capabilities in notcurses-info #2326 2 years ago
nick black 49fefcabc4
check for cellpx{xy} in check_pixel_support() 2 years ago
nick black 2b6070ca6f
[demo] don't try to use cell-pixel geometry if it's unavailable #2505 2 years ago
nick black 2ec93e8dfb
[info] move logo over one column 2 years ago
nick black 3eb2383fff
[cli1] properly loop on NCTYPE_RELEASE 2 years ago
nick black dc4bb1095e
detect rectangular edit support, display in notcurses-info #2498 2 years ago
nick black 70936ada74
kill redundant function prefix_data() 3 years ago
nick black c067527c28
kill compilation warnings on alpine 3 years ago
nick black 0d65db84dc [reset_term_palette] use oc only as a last resort #2450 3 years ago
nick black ba1fbbee90
don't expose kitty-style bg transparency to user #2432 3 years ago
nick black 4c17970ba0
detect and expose default foreground color #2432 3 years ago
nick black 6e42d5c52e
add notcurses_default_background() #2432 3 years ago
nick black de3cd3c644 [notcurses-info] add chess pieces 3 years ago
nick black caaeec5094
Place ncneofetch properly (#2415)
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
3 years ago
nick black 3ffe7ac12c
kittykbdsupport bool distinct from kbdlevel, use in notcurses-info #2412 3 years ago
nick black 30dedad9df [info] print newline on last line #2196 3 years ago
nick black 68240c3d13 use ncplane_putwc_utf32 for all unicode 13 in notcurses-info #2358 3 years ago
nick black a248606b77
[notcurses-info] use putwc_utf32 for symbols for legacy computing #2358 3 years ago
nick black 5e55e0c970
introduce ncplane_putwc_utf32(), use it in notcurses-info #2358 3 years ago
nick black 3eb2f5f42d
notcurses-info: replace literal unicode 13 with escapes 3 years ago
nick black 5ff59ce421
[putstr] take size_t* for sbytes, not int* #2331 3 years ago
nick black fe924be5ef
ABI3 changes (#2333)
Long-planned changes for API/ABI3 #1777

* remove old-style notcurses_ rendering functions
* Make notcurses_render() a static inline wrapper around
 ncpile_render(). Remove the deprecated
 notcurses_render_to_file() and ncpile_render_to_file().
* ncstrwidth() becomes static inline wrapper #1777
* remove deprecated ncvisual_subtitle()
* kill ncvisual_inflate(), long deprecated #1777
* remove deprecated palette256 wrappers #1777
* kill ncplane_new() #1777
* remove deprecated renderfp field from notcurses_options #1777
* reorder ncstats fields to match documentation #1777
* kill deprecated style functions #1777
* ncplane_move{top, bottom} become static inline #1777
** ncplane_pixelgeom -> ncplane_pixel_geom() #1777
* ncstyle functions ought return uint16_t #1777 #2200
* ncvisualplane_create: provide new pile functionality #1462
* [heuristics] GNU screen 4x never has rgb
* [BitmapSmoothMove] only WARN in test until sixel supports this #2258
* contour: enable sextants
* interp PoC: clean up ncvisual #2266
* ncselector_options: constify string arguments
* Constify strings in selector/mselector_items
 Use internal types to track items within the
 selector/mselector widgets, rather than pressing the
 user-provided item structs into double-duty. With this
 change, we can constify the strings within those
 user-provided items. Do so, also removing the internal-side
 elements. Update documentation. Closes #2267.
* constify ncmenu_item/_section strings
* constify strings in nctabbed_options
* notcurses-demo FPS graph: back to straight seconds
* remove unused wchar_from_utf8()
* nstrwidth_valid(): properly initialize bytes/width
* [ncneofetch] use GetSystemInfo on Windows
3 years ago
nick black c20e859a6d [python] API conversions 3 years ago
nick black 51e90ca7e9 [hud] use ncmetric for elapsed time 3 years ago
nick black 83ff2cfe5a unsigned geometries 3 years ago
nick black 0f5aec510a
[mice] support for pure motion events
Deprecate notcurses_mouse_{enable, disable}. Reimplement
them for now as wrappers around notcurses_mice_enable().
New function notcurses_mice_disable() is a static inline
wrapper around notcurses_mice_enable(). The latter
function takes an unsigned bitmask of event types. We
now turn on the "all motion" tracking DECSET if
NCMICE_MOVE_EVENT is requested. Update the documentation,
and kill some obsolete lines. Add the ypx and xpx fields
to ncinput, to indicate pixel offset within a cell. Add
nckey NCKEY_MOTION for button-free motion events. Update
notcurses-input to pass NCMICE_ALL_EVENTS and decode
NCKEY_MOTION. Only emit mouse sequences when connected
to a TTY (or GPM). Closes #2320.

Request RGB XTGETTCAP.

Fix bug in error check in notcurses_render_to_buffer().

Decode multiple XTGETTCAP responses.
3 years ago
nick black 45afc7fc5d [info] add U+1FB6B and U+1FB69 3 years ago
nick black 02303ee98e notcurses-info: ncvisual_blit, inline all emoji #1462 3 years ago
nick black b87d8f15f7
[info] expand some emoji into proper literals 3 years ago
nick black 099eda88ac
notcurses-info: put 80 columns error in red+bold 3 years ago
nick black 6fa901c4b1
[kitty] fix default background workaround, erp 3 years ago
nick black 57a3e79e3c
s/defbg/default background/ 3 years ago
nick black c69849ffb1
track unknown background color if we can't learn it #2226 3 years ago
nick black b5c161a07c
Unify control sequence automata #2183 (#2208)
Unify the dynamic, dataflow special keys automaton and the static, codeflow terminal response automaton, yielding a single automaton. Add kitty keyboard support information to `notcurses-info`. Closes #2183.
3 years ago
nick black 3d02a75323
NCOPTION_DRAIN_INPUT in notcurses-info and ncneofetch 3 years ago
nick black 4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 3 years ago
nick black 6612d1b149
[kitty] disable KITTY_SELFREF for now #2161 3 years ago
nick black 108012950e
notcurses-info: indicate that el capability is present 3 years ago
nick black ff12a1f75b
distinguish between halfblock and quadrant capabilities #2109 3 years ago
nick black b13ecb31f9
notcurses-info: show whether we're using gpm 3 years ago
nick black b8c01eacc8 tighten up include paths, libgpm connect #1986 3 years ago
nick black e97039f42a
drop ESCAPE_CSR #2035 3 years ago
nick black 91dfb487ad remove support for the iTerm2 graphics protocol #2060 3 years ago
nick black 53b0174322
notcurses-info: scrolling details
don't emit a hard newline following the emoji line,
closing #2021. properly account for distance to logo,
closing #2065.
3 years ago
nick black 0a441eaf26
drop obsolete FIXME 3 years ago
nick black eae2295a5b
notcurses-info: require at least 80 columns 3 years ago
nick black ac78ebbc75 add a late bitmap pass for fbcon mmap #1997 #2045 3 years ago
nick black 7ebd471471
raster: use terminfo indn to scroll multiple lines 3 years ago