Commit Graph

38 Commits (588f8d3789dce405d3d23badf120fc9c4711e371)

Author SHA1 Message Date
nick black 8b6a30cba8
v2.3.7 3 years ago
nick black 481d539092
v2.3.6 3 years ago
nick black a14a5271ac
v2.3.5 3 years ago
nick black c8dfa17485
Set up sane logging for direct mode
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690.
3 years ago
nick black c9a338e0fd
add ncdirect_canget_cursor() #1790 3 years ago
nick black 160868d9e8
v2.3.4 3 years ago
nick black 4ca1036da9
v2.3.3 3 years ago
nick black d695a8206f
add ncdirect_detected_terminal() and notcurses_detected_terminal() #1759 3 years ago
nick black deea4ddf9c ncdirectf_geom: move to ncvisual_options #1746 3 years ago
nick black 5426e153f7 ncdirectf_render: make ncvisual_options const, thanks @joseluis #1738 3 years ago
nick black 59f4edd777 ncdirectf_render: accept an ncvisual_options #1738 3 years ago
nick black 507d2c8d8e
v2.3.2 3 years ago
nick black d170e6e7a2 man pages: document that only one context can be active at a time #1694 3 years ago
nick black d20a4d8104
ncdirect: restore colors properly following sgr #1703 3 years ago
nick black c4e2932c76 add ncdirect_supported_styles(), move SGR/SGR0/OC into escblock #1525 3 years ago
nick black 739c96032d
v2.3.1 3 years ago
nick black 42f26fcb1e ncls: update to prep_image() maxy/maxx #1661 3 years ago
nick black c42fab1564 implement ncdirectf passthroughs #1659 3 years ago
nick black d1e7adf410 add ncdirectf api #1659 3 years ago
nick black ea4c593455
v2.3.0 3 years ago
nick black dc9db79100
v2.2.11 3 years ago
nick black 2d6bdd3b5b
v2.2.10 3 years ago
nick black 923bc40516
v2.2.9 3 years ago
nick black d5b58d9f58
v2.2.8 3 years ago
nick black eefc4fb91f
v2.2.7 3 years ago
nick black e017dcba89
v2.2.6 3 years ago
nick black cf3a6317aa export ncdirect_stream() 3 years ago
nick black 9546b7e914
move logo to doc/ from data/ to keep install simple 4 years ago
nick black 57114c8005
[bitmaps] remove redundant PixelWipeBlocks test 4 years ago
nick black 70059297c0
notcurses_direct.3: add image render+raster to docs 4 years ago
nick black bc84987af5
v2.2.3 4 years ago
nick black 6c7c9be6d2 require explicit check for pixel support
Add `notcurses_check_pixel_support()` and
`ncdirect_check_pixel_support()` per #1367. Removes
NCOPTION_VERIFY_SIXEL, again per #1367. Adds
`free_terminfo_cache()`, and calls it from both
`notcurses_stop_minimal()` and `ncdirect_stop()`.
Update all documentation. Closes #1371 and #1367.
4 years ago
nick black 2221120543 add SIGILL to documented fatal signals #1357 4 years ago
nick black c10f5a40ce
v2.2.2 4 years ago
nick black be4a9154a8
v2.2.1 4 years ago
nick black 3cdf7160de
v2.2.0 4 years ago
nick black 54ca2249df
v2.1.8 4 years ago
nick black b3569b6aef
Initialize Readline on demand
Eliminate NCDIRECT_OPTION_NO_READLINE (it was only introduced in
Notcurses 2.1.6). Add a new function, ncdirect_readline(). Upon
first call to this function, initialize libreadline. Destroy
libreadline in ncdirect_stop() iff we initialized it. Add
hilodirect guessing game PoC from #1325. Rename
notcurses_directmode.3 to notcurses_direct.3. Closes #1326.
4 years ago