Commit Graph

123 Commits

Author SHA1 Message Date
nick black
30dedad9df [info] print newline on last line #2196 2021-11-25 15:18:04 -05:00
nick black
68240c3d13 use ncplane_putwc_utf32 for all unicode 13 in notcurses-info #2358 2021-11-19 14:49:09 -05:00
nick black
a248606b77
[notcurses-info] use putwc_utf32 for symbols for legacy computing #2358 2021-11-19 09:42:01 -05:00
nick black
5e55e0c970
introduce ncplane_putwc_utf32(), use it in notcurses-info #2358 2021-11-19 09:34:27 -05:00
nick black
3eb2f5f42d
notcurses-info: replace literal unicode 13 with escapes 2021-11-19 08:10:06 -05:00
nick black
5ff59ce421
[putstr] take size_t* for sbytes, not int* #2331 2021-11-10 22:43:44 -05:00
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
2021-11-09 00:53:30 -05:00
nick black
c20e859a6d [python] API conversions 2021-11-08 21:05:15 -05:00
nick black
51e90ca7e9 [hud] use ncmetric for elapsed time 2021-11-08 21:05:15 -05:00
nick black
83ff2cfe5a unsigned geometries 2021-11-08 21:05:15 -05:00
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.
2021-11-05 08:32:35 -04:00
nick black
45afc7fc5d [info] add U+1FB6B and U+1FB69 2021-11-02 09:31:48 -05:00
nick black
02303ee98e notcurses-info: ncvisual_blit, inline all emoji #1462 2021-10-16 03:39:25 -04:00
nick black
b87d8f15f7
[info] expand some emoji into proper literals 2021-10-14 03:45:05 -04:00
nick black
099eda88ac
notcurses-info: put 80 columns error in red+bold 2021-10-04 05:36:17 -04:00
nick black
6fa901c4b1
[kitty] fix default background workaround, erp 2021-10-04 02:55:32 -04:00
nick black
57a3e79e3c
s/defbg/default background/ 2021-10-04 01:57:08 -04:00
nick black
c69849ffb1
track unknown background color if we can't learn it #2226 2021-10-04 01:48:50 -04:00
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.
2021-09-30 05:08:19 -04:00
nick black
3d02a75323
NCOPTION_DRAIN_INPUT in notcurses-info and ncneofetch 2021-09-16 01:11:59 -04:00
nick black
4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 2021-09-12 02:17:29 -04:00
nick black
6612d1b149
[kitty] disable KITTY_SELFREF for now #2161 2021-09-12 01:58:29 -04:00
nick black
108012950e
notcurses-info: indicate that el capability is present 2021-09-04 19:07:09 -04:00
nick black
ff12a1f75b
distinguish between halfblock and quadrant capabilities #2109 2021-08-28 02:39:25 -04:00
nick black
b13ecb31f9
notcurses-info: show whether we're using gpm 2021-08-26 18:31:16 -04:00
nick black
b8c01eacc8 tighten up include paths, libgpm connect #1986 2021-08-24 01:56:12 -04:00
nick black
e97039f42a
drop ESCAPE_CSR #2035 2021-08-17 22:27:36 -04:00
nick black
91dfb487ad remove support for the iTerm2 graphics protocol #2060 2021-08-15 22:12:49 -04:00
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.
2021-08-14 06:50:26 -04:00
nick black
0a441eaf26
drop obsolete FIXME 2021-08-14 05:27:05 -04:00
nick black
eae2295a5b
notcurses-info: require at least 80 columns 2021-08-14 00:12:34 -04:00
nick black
ac78ebbc75 add a late bitmap pass for fbcon mmap #1997 #2045 2021-08-13 20:52:25 -04:00
nick black
7ebd471471
raster: use terminfo indn to scroll multiple lines 2021-08-13 02:53:56 -04:00
nick black
b2480b36fe
notcurses-info: add bce to capability line 2021-08-13 02:35:17 -04:00
nick black
7ff391939b
notcurses-info: don't print newlines if fewer than 81 columns 2021-08-09 23:43:41 -04:00
nick black
f0b94273e3
notcurses-info: fill out to the right 2021-08-09 23:21:04 -04:00
nick black
5a0630cbc8
notcurses-info: make it a lot less busy 2021-08-09 18:20:09 -04:00
nick black
81bc99efb6
notcurses-info: use white text explicitly 2021-08-06 15:31:19 -04:00
nick black
da87386957 notcurses-info: guard linux_fb_fd 2021-08-05 06:39:09 -04:00
nick black
24d7d6d995
start merging in the fauxmemstream branch #1977 2021-08-04 14:59:37 -04:00
nick black
9536ecd8c8
notcurses-info: add man in suit levitating, woman scientist 2021-08-02 14:37:04 -04:00
nick black
cb74709cb0
notcurses-info: add some more zwj emoji 2021-08-02 08:39:02 -04:00
nick black
487b9acf90 name Terminal.app, slog on with failed emoji in notcurses-info #1945 2021-08-02 02:27:38 -05:00
nick black
d8608689f4 unmacroize update_domain_T #1976 2021-08-02 00:17:56 -04:00
nick black
89125802c6 notcurses-info: update man page with more text 2021-08-01 22:33:48 -04:00
nick black
7c09695af4 notcurses-info: more emoji 2021-08-01 22:33:48 -04:00
nick black
313885f9c5 notcurses-info: let's show some emoji 2021-08-01 22:33:48 -04:00
nick black
065f60ac5b
info: finish out all lines in capabilities section 2021-07-31 20:01:41 -04:00
nick black
9c3f6b826b
notcurses-info: use NCVISUAL_OPTION_NODEGRADE #1945 2021-07-31 06:39:10 -04:00
nick black
4561ed6a69 notcurses-info: use wviz throughout for broken unicode implementations 2021-07-27 02:15:12 -05:00