Commit Graph

3824 Commits (878842942dd2c16a7d240136101b2acdf633ce25)
 

Author SHA1 Message Date
nick black 878842942d
TERMS.md: document block-drawing 4 years ago
nick black 6ca8949845 add kittyzapper PoC #1117 4 years ago
nick black 0578e86e02 introduce terminal-specific heuristics
Kitty conflates an RGB background specification that aligns
with the default background color with that actual background
color. This can result in translucent background when we're
expecting opaque ones. Detect kitty (strstr check of terminal
name for "kitty"), and if it's active, mark `bg_collides_default`
with the rgb of the default background color. For now, we assume
this to be (0,0,0), but we ought improve it by determining (or
setting, if that's impossible) the precise default bg color.
Closes #1117.
4 years ago
nick black 7df2c7cd04
ncdirect: use sgr0, properly align images 4 years ago
nick black e1b1654d1e
NEWS: mention ncdirect image render split 4 years ago
nick black 0ceb129125
document kitty properties #1117 4 years ago
nick black d3fc0db1ee
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 53d4dac427
drone: add ubuntu hirsute builder 4 years ago
joseLuís fd1b81c0f8 rust: add NcPixel methods.
- finish updating the functions.
4 years ago
joseLuís 0db4e48a6b rust: endianess updates for NcPixel & NcCell
- Update NcPixel functions, and their descriptions.
- Update NcPixel constructor.
4 years ago
joseLuís 6752741982 rust: add dynamic linesig control
- add new functions notcurses_linesigs_disable & notcurses_linesigs_enable.
- fix comments.
4 years ago
nick black 1fb4a66853
raster: fine-grained emits of op for default #1240 4 years ago
nick black 408004ee66
define fgop/bgop for fine-grained default color #1240 4 years ago
nick black 248dd1fff2
add dynamic linesig control #1228 4 years ago
nick black 99abcb5f07
cbreak_mode: move to input.c 4 years ago
nick black 41c2a75f9b
TERMS.md: some fatty did eat the cake 4 years ago
nick black 0920675db1
there are now three ways to hide a plane, sigh 4 years ago
nick black d1fdaf7614 view: add -t option for timeouts
When the -t switch is provided to notcurses-view, its
floating-point argument is the number of seconds for
which we delay after showing an image. When this is used,
the standard "press any key to continue" prompt is not
displayed, and indeed keybindings are not honored. This
can be used for a slideshow, or just for fullscreen display
involving no user interaction. It does not apply in the
case of -L for looping. Closes #1229.
4 years ago
nick black c0316ee96c view: document and parse -t time argument #1229 4 years ago
joseLuís 240b58d52b rust: update msrv in readme 4 years ago
joseLuís de56912cc4 rust: keep adding NcPlane methods & more
- new type NcResizeCb.
- new functions ncresizecb_safe & ncresizecb_unsafe.
- update NcPlaneOptions constructors.
- Improve & fix comments.
4 years ago
joseLuís 183d6473cd rust: continue adding NcPlane methods.
- add new module fade.
  - new type NcFadeCb.
  - move NcFadeCtx here.
- add TOC for NcPlane methods sections.
- fix & improve comments.
- remove deprecated ncplane functions.
4 years ago
joseLuís 45c01c95af update align doc comments #1234 4 years ago
joseLuís 84987b61a9 rust: refactor ncbox, ncalign; add NcPlane methods.
- wrap NCBOX* constants.
- new NcBoxMask type.
- new NCRESULT_MAX const.
- add NcPlane box & perimeter methods.
- move NcAlign to notcurses mod.
- update notcurses_align & test.
- improve comments.
- rustfmt.
4 years ago
nick black 1303e5e310
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black f20aae8dc6
document presence of bce in various terminals #1117 4 years ago
joseLuís 493298f0f1 rust: new dimension types & NcPlane methods.
- add new NcDimension and NcOffset types.
- add more NcPlane methods.
- remove NcPlane methods:
  - ncplane_put_egc.
- add missing NCKEY_ESC and NCKEY_SPACE keycodes.
- add notcurses methods: getc_nblock.
- fix comments.
- rustfmt.
4 years ago
nick black 0b633fbdad
ncplane_at_yx_cell/at_cursor_cell: return bytes of egc 4 years ago
nick black fd146db050
demo: reject extra command line arguments 4 years ago
nick black 5cd3cdaf70
direct: s/ncplane/ncdirectv/g 4 years ago
Nick Black 730e9f69ec
Multithreaded ncls (#1232)
Thread out ncls to perform the media decode in different threads, in parallel. Only the display needs be locked. On a directory of 200 files on my 39070X, this speeds ncls from ~5s to ~1s. On 75 files, we go from ~.5s to ~.2s. On a single file, we lose about 5%. To facilitate this, ncdirect_render_image() has been split into two helpers, ncdirect_render_frame() and ncdirect_raster_frame().
4 years ago
nick black d7fd7fa39e
ncdirect_render_image: save/restore colors #1230 4 years ago
nick black bf3e3eb0b5
ncplane_at_cursor_cell: rewrite with ncplane_at_yx_cell() 4 years ago
nick black 1798e061e1
fallin': drop unused nccell c #1231 4 years ago
nick black 28b1a80433
ncplane_at_yx_cell: work directly with cell_duplicate() #1231 4 years ago
nick black 1b613591fe
ncmenu_create: missing newline on diagnostic 4 years ago
nick black 405b456428
disambiguate comment on ncdirect #1227 4 years ago
nick black e43d127b42
ncdirect_render_image: reset colors after each line #1222 4 years ago
nick black 14778e4b71
ncdirect_dump_plane: always emit newline #1222 4 years ago
nick black 50d31e55a5
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 85b0a37154
ncdirect: retry fflush() on EAGAIN on all paths 4 years ago
nick black 0fb455f0ee
ncls: don't flush output after each line 4 years ago
joseLuís 2957893da9 rust: update cell tests; minor doc fix 4 years ago
nick black ded14ac190
drone: kick fedora hard in the ass 4 years ago
nick black 0a021fce1c
drone: debian unstable uses 2020-12-17a 4 years ago
nick black 9b0f88f024
ncpile_drop(): reset stdplane's blist #1226 4 years ago
nick black 8fb8d55222
Merge branch 'master' of github.com:dankamongmen/notcurses 4 years ago
nick black 3226652936
reel demo: kill tablets on demo_render() exit #1225 4 years ago
joseLuís 7f175cf37c rust: NcCell width-aware constructors #1203 #1205 4 years ago
nick black 2190b33421
drone: update to debian unstable 2020-12-16a builder, disable ubuntu #1220 4 years ago