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
nick black
8c5c9d8566
drone: update fedora builder to 2020-12-16a
4 years ago
joseLuís
04b10741d4
drone: build rust in debian and fedora #1220
4 years ago
nick black
4fabba6789
s/reception/receipt/
4 years ago
nick black
2d07bbee59
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
d6d5757b1d
v2.1.1
4 years ago
joseLuís
e778cc38e4
show rustc version in drone
4 years ago
joseLuís
4cca3ddd48
rust: working on input
...
- make char: all NCKEY_* constants.
- make const fn: nckey_mouse_p, ncinput_equal_p & NcInput::new.
- make rsleep!() return the notcurses_render() result.
- new Notcurses constructor with_flags().
- new example: full-input.rs.
- fix comments.
4 years ago
Nick Black
1bdd2d0555
Progress bar polishing ( #1219 )
...
Progress bars now support four 32-bit channels in ncprogbar_options, and uses them to color a gradient. The redraw procedure has been changed from O(n) to O(1). ASCII progress bars have been repaired. Closes #1213 .
4 years ago
nick black
45a7458553
grotesque
4 years ago
nick black
94d4f7a04a
Merge branch 'master' of github.com:dankamongmen/notcurses
4 years ago
nick black
243b8bd4d4
uniblock: scrub all legend residue
4 years ago
Nick Black
db77e19795
drone: alpine builder ( #1217 )
...
* drone: add alpine-edge builder #1216 . ffmpeg, no qrcodegen, no pandoc
4 years ago
nick black
45d0ca54e9
add SetStruck directmode test
4 years ago
nick black
35cb5d9511
GrowPlanes tests: use valid arguments #1215
4 years ago