Commit Graph

1561 Commits (50ce76bad8f931fd7f0d84e0bde950025635e6bd)

Author SHA1 Message Date
nick black c286a8ae9b
ncvisual_stream(): fix oiio for eager decode #721 4 years ago
nick black 6ff0bec2fa
ncplane_puttext: more unit tests, check for spcae before width #691 4 years ago
nick black d7b04217f9
dragon/view demos: don't disturb menu bar 4 years ago
nick black cfe764bd57
ncplane_puttext() unit test + fix #691 4 years ago
nick black 97517d0473
ncplane_puttext: another test, another bug #691 4 years ago
nick black d1f8b9237d
ncplane_puttext: new unit test, fix breakage #691 4 years ago
nick black 2c8e4b78db
ncplane_box/ncplane_destroy: use logerror() #520 4 years ago
nick black 9cf018c628
diagnostics for ncplane_resize()/ncplane_cursor_move_yx() #520 4 years ago
nick black 2be041b1f4
Beef up ncplane_puttext() tests, fix a problem #691 4 years ago
nick black 1f9855b243
ncplane_content: add diagnostics #520 4 years ago
nick black 3f114f4305
ncplane_puttext(): allow NULL for sbytes 4 years ago
nick black 59bf168e55
quadblitter: emit ▌, not ▋, you fool #667 4 years ago
nick black 222c52e10c
view: use quadblitter 4 years ago
nick black 64b07fcd0b
outro: use quadblitter, reset vopts 4 years ago
nick black cadd0ae283 quadblitter: fix arguments to channel_rgb() #667 4 years ago
nick black 7c1e9fe3d2
ffmpeg: properly scale #714 4 years ago
Nick Black 0084dbaa6d
qrcode generalization #699 (#713)
Add convenience function ncplane_home(). Add an ncblitter_e param
to ncplane_qrcode(), and split int maxversion into value-result
int* ymax and int* xmax. Write the actual sizes of the resulting
visual into these parameters. Update the qrcode demo. Add the
qrcode PoC. Update demos to ncplane_home(), where possible.

ncplane_qrcode() now takes an ncblitter_e and two value-result int*s
in the place of a single value int. The final size of the displayed qrcode
is written to *ymax and *xmax. If the code can't fit within the specified
dimensions, an error is returned. Standard rules for pluggable blitters
apply regarding fallback etc. #699
4 years ago
nick black 22dc5014cc
notcurses_rasterize: update comment about damagemap 4 years ago
nick black ee73df3059
dragon: reset static done flag, erp 4 years ago
Nick Black 068b1c952a
Dragon demo #708 (#710)
* define dragon curve demo #708
* demo: distinguish abort from fail, color-wise
* dragon: ncvisual-based #708
4 years ago
nick black 909040eade
christ nick get your head in the game 4 years ago
nick black ed824fe0d2
eep! #709 4 years ago
nick black 5bbd183db4
rotate_channels: handle top half block #707 4 years ago
nick black 03c748476b
normal: speed up rotation out #599 4 years ago
nick black 4f8f16df8d
qrcode: really remove getrandom() for freebsd < 12 4 years ago
nick black 3e23ca524f normal: improve coloring 4 years ago
nick black b119cec29e
normal: finally move to pi/4 rotations #599 4 years ago
nick black dc49bb943b
demo: destory about screen before restarting #706 4 years ago
nick black e74e7860c5
demo: explicitly set menu/about colors #705 4 years ago
nick black a069745c49
notcurses-ncreel: remove unused field 'id' 4 years ago
nick black 3936d1b528
adapt callers of ncvisual_geom() 4 years ago
nick black 70183ee283
Rewrite plot tests using C interface #703
The Plot unit tests were reaching directly into the objects,
which meant the implementations couldn't include anything
we didn't want public. This was annoying, so I've changed it.
This required adding ncdplot_sample() and ncuplot_sample(),
which we should have had anyway.
4 years ago
nick black 185742fd08
Rendering now does tripartite fallback to basecell
Each plane has a "base cell", which like all other cells is
initialized to the null glyph, opaque default foreground color,
and opaque default background color. Prior to this change, at
each cell of a plane, we decided whether to use that cell (the
"viscell") or the base cell depending on whether the viscell had
a non-null glyph. We now evaluate each component independently.
If the viscell has a null glyph, we use the base cell's glyph.
If the viscell has a default foreground, we use the base's fg.
If the viscell has a default background, we use the base's bg.
This was done because (a) it seems more intuitive (if I set a cell
to red, I expect red, not red iff there's a glyph in that cell
for this plane), and (b) because otherwise it was impossible to
do a multicolor overlay without blowing away underlying glyphs
(since without a glyph, you always reduced to the same base cell,
which could have only one fore- and background per render).

Existing code will need to change any instances where cells
lacking glyphs are colored, and those colors are not desired.
Since any such coloring had no effect before, it seems unlikely
that any ought exist (this did bring to light an instance in
the "qrcode" demo where we were staining overmuch of the plane).

This closes #395, the last big open worry regarding our API.
4 years ago
nick black 4391c661be
don't pull logging into plot #703 4 years ago
nick black f98acad7f6
add NCPLOT_OPTIONS_DETECTMAXONLY #610 4 years ago
nick black 2b89b0850c
jungle/normal: improve behavior under ASCII mode #696 4 years ago
nick black a10ba4dac6
highgradient: degrade to gradient #700 #696 4 years ago
nick black 20322fe805
demo improvements for ASCII mode (#696)
* eagle: use new ncvisual_geom() to properly zoom
* qrcode: skip for now (#699)
* luigi: draw with spaces, not full blocks
4 years ago
nick black af46077775
ncvisual_geom: take degradation into account #697
In order to properly determine the scaling of an ncvisual to
be rendered, ncvisual_geom() needs know the blitting method.
For this reason, it took an ncblitter_e argument. It also,
however, needs handle degradation, which means knowing whether
NCVISUAL_OPTIONS_NODEGRADE is in use. It thus really wants the
struct ncvisual_options. Pass and accept it. Closes #697, and
fixes the "yield" demo in ASCII mode (#696).
4 years ago
nick black 827c2f2013
ncplot: don't print spaces #695 4 years ago
nick black 0e1617811f
eagle: require UTF8 for now #697 #696 4 years ago
nick black 09f3f9097d
input: extract most of main() into input_demo() 4 years ago
nick black 1cd3ffc89a
outro: transparent legend at borrom #687 4 years ago
nick black 1ffd871784
blocks poc: handle std coredump-free #645 4 years ago
nick black a3369d77a9
outro: plug memory leak post-fade 4 years ago
nick black c8caa23090
brailleblitter: honor transparency #649 4 years ago
Nick Black 28431914a8
First go at ncplane_puttext() (#690)
Very simple take at ncplane_puttext(), a new function for linebroken text. Also some very basic unit tests. I doubt this works very well yet, but it handles the simplest cases #682. Added nclog(), internal function for logging. #520
4 years ago
nick black 7736e4a7dc all: don't put legend so far away from plane 4 years ago
nick black 841c0a4b8f
quadblitter: respect transparency #686 4 years ago
nick black 10cbaedc77
visual: implement NC_SCALE on both paths #683 4 years ago
nick black f1da9406f9
view: plug small memory leak 4 years ago
nick black 7e6ec274bb
view: clear standard plane between renders #685 4 years ago
nick black 6e7996f1a8
notcurses_init: properly check flags for unknowns 4 years ago
nick black b2dcc50606
notcurses_options: fold bools into flags 4 years ago
nick black e2b43092c3
outro: fade in samoa while fading out changes #652 4 years ago
nick black 700d59dbad
yield demo: don't stain menu 4 years ago
nick black 71f6b7b02e
USAGE: pixel -> ncpixel 4 years ago
nick black 465f4694b8
rename pixel -> ncpixel 4 years ago
nick black 9f97b7b969
demo HUD: unify blur 4 years ago
nick black 77362a50f4
yield demo looks hot, hot, hot! 4 years ago
nick black 990f401427
ncvisual_set_yx() 4 years ago
nick black d863220e23
add pixels PoC 4 years ago
nick black fb13b148e9
add Pixel API 4 years ago
nick black 2c417ddb0c
yield demo: punch up with polyfills 4 years ago
nick black cb521e3de7
allglyph: always have room for the legend 4 years ago
nick black 633ef1f76c
add beginnings of yield demo 4 years ago
nick black 787e66a4c8
fallin': use NCBLIT_2x2 4 years ago
nick black 595a697146
notcurses-view: space now pauses #603 4 years ago
nick black 050b44628a
punch up luigi and purpdrank with NCBLIT_2x2 4 years ago
nick black b172d2b97e
NCVISUAL_OPTION_MAYDEGRADE -> NCVISUAL_OPTION_NODEGRADE, doc 'em 4 years ago
nick black deda0ff681
mention notcurses_reader.3 in notcurses.3 4 years ago
nick black cd2cc6f340
allglyph: add a counter showing the current glyph 4 years ago
nick black 84ae45ef39
remove all libsixel crap #200 4 years ago
nick black 9a0f0c66fe
ncblit: accept an ncvisual_options #680 4 years ago
nick black 358c9a5c73
normal: grab a square region to avoid flickering #678 4 years ago
nick black d73c12be6f
ncvisual_from_plane: argument inversion error #678 4 years ago
nick black 5a1b1146d3
jungle demo: eliminate plot bleedthrough 4 years ago
nick black b72a386aa3
ncplane_dup(): adjust for marginalia #679 4 years ago
nick black e268301a42
demo: reset standard plane base char for each demo #675 4 years ago
nick black deb3c8bfcb
outro: kill rendering turds #675 4 years ago
nick black e1d34c4f43
ncplane_highgradient: only pass a single channel #676 4 years ago
Nick Black de23139111
Open some whoopass on ncvisual rotation (#677)
Whip the ol' llama's ass (fix ncvisual rotation)

* notcurses: flush cursor change requests #673
* rotator: verify ncplane_rgba and ncblit_rgba
* ncblit: rename, accept ncblitter_e #674
* rotator: render from rgba
* rotator: get to rotation
* rotator: add a pi/4 turn at the end
* normal: reuse incoming plane for rendering #672
* rotator poc: rotate a fullplane gradient #672
* normal demo: place visual correctly
* rotator: verify ncplane_rgba and ncblit_rgba
* ncblit: rename, accept ncblitter_e #674
* rotator: render from rgba
* rotator: add a pi/4 turn at the end
* normal: reuse incoming plane for rendering #672
* rotator poc: rotate a fullplane gradient #672
* normal demo: place visual correctly
* rotator poc: throw some red into gradient
* rotator poc: done #662
* oiio: ncvisual_resize() needs set ibuf pointer #662
* normal: only need erase at top of loop
* visual poc: shorter delay
* normal demo: center rendered visual
* comment ncvisual_resize() call
* ncvisual_rotate: call ncvisual_details_seed()
* ffmpeg ncvisual: fix rotation #662
4 years ago
nick black dbe779365b ncplane_rgba(): correct order sampling colors #672 4 years ago
nick black 12fce6ddb7 notcurses: flush cursor change requests #673 4 years ago
nick black df8d4951e6
oiio: new streamer api 4 years ago
nick black 1b0a4cb41a normal demo: fill in all lines 4 years ago
nick black e92b46421a
quadblitter: pick closer inductance pixel #667 4 years ago
nick black 0b06fa5cd4
quadblitter: trilerp on induction #667 4 years ago
nick black a8beaf8e56
notcurses-view: switch between blitters with 0--8 #671 4 years ago
nick black c0f820db94
notcurses-view: select blitter with numbers #671 4 years ago
nick black 75f458d69a
ncplane_yx: results are relative to bound plane 4 years ago
nick black 6d5e027be9
notcurses-demo: compactify usage message #669 4 years ago
nick black bc6305b08e
notcurses_debug: handle bound planes 4 years ago
nick black d41c6d3627
notcurses-ncreel: add </>/* operators 4 years ago
nick black b65437a53f
O(1) plane bondage #670
Make ncplane_reparent() O(1).
Make ncplane_delete() O(1)
O(1) link severance for planes bound to deleted plane.
Allglyph demo requires UTF8.
4 years ago
nick black e99abeae01 ncplane_destroy: remove plane from bound list 4 years ago
nick black 1c05994a05
normal: plug memory leaks on exit paths #624 4 years ago
nick black e32e4d9744
egcpool_stash: exit on strdup() failure #624 4 years ago
nick black 96a47de845
merge cell unit tests 4 years ago
nick black 7d41d30043
allglyphs: colorize 4 years ago
nick black 8c8d862d23
allglyph: only render at end of line 4 years ago
nick black c55e4bb7bf
xray: allow video to show through (blend bg) 4 years ago
nick black 9d9caf28cd
notcurses_debug: show binding information #656 4 years ago
nick black 35bda058b0
uniblock demo: simplify, maaaaaaaan 4 years ago
nick black 5ff84cb9dd
add 'a'llglyphs demo #668 4 years ago
nick black 2abe8ca5a8 lerp: toss one into the prediv 4 years ago
nick black efa51e9cf2 quadrant blitter #648
Novel blitter using Unicode quadrant glyphs. 2:1 cell aspect ratio, but
double the horizonal resolution of the half block blitter.
4 years ago
nick black e462ea2bef
ncvisual_rotate: check result of ncvisual_resize() 4 years ago
nick black 15bd5cfd56
notcurses-view: properly handle resize
Since notcurses-view is now rendering to the standard plane, and
ncvisual is no longer bound to a plane, there's no need to call
ncplane_resize() (and doing so fails, since you can't resize the
standard plane). Remove the call, leave the check. Fixes resizing.
4 years ago
nick black 6cadea3138
outro: keep riser on top 4 years ago
nick black 23001ab792
geomdata -> notcurses_blitters if it must be public 4 years ago
nick black 2d0ca67fc5
scan-build fix -- assign r on all paths (ncvisual_stream) 4 years ago
nick black cc46571a43
Restore raise(SIGKILL) to execv error paths #636 4 years ago
nick black aef66efb4e
ncvisual_stream: honor first ncvisual_decode() 4 years ago
nick black 4fb012a12d
ncreel_destroy(): use ncreel_del() directly #664 4 years ago
nick black 38c0509d86
notcurses_init: properly initialize rstate cursor
When we first begin operations, we need emit a cursor homing, which
we were not doing for the first line. As a result, the first row
didn't show up until you rendered something else, and even then
didn't show up unless you changed it (as it was otherwise undamaged).
This explains a lot of mystery behavior in notcurses-demo that I've
long told myself I'd hallucinated or imagined. Hurrah! but also
supershittytothemax! Thanks Marek Habersack for pointing out something
which led to an experiment which led to chasing this down once and
forever. Closes #619, w00t!
4 years ago
nick black 002f65fb54
init_lang(): properly invoke setlocale() for LANG 4 years ago
nick black e3c14ed569
plot: color labels correctly 4 years ago
nick black 0cda775900
metric: use FE_TONEAREST instead of TOWARDZERO #615 4 years ago
nick black 343b4d144e
demo: purge use_oiio/use_nomm 4 years ago
nick black ec1af2d090 oiio: fix image rendering 4 years ago
nick black 4f5c8ef3d7 eagle/outro support for non-multimedia builds 4 years ago
nick black 2d3fef115e ncfadectx_setup(): remove timespec param #659 4 years ago
nick black 3deeecdf2e fade: finish out proposed API, basic unit tests #659 4 years ago
nick black 74e8e9c3d9 fade: move more reproduced code into common area #659 4 years ago
nick black 0766dd08e7 fade: factor out duplicated maxsteps determination #659 4 years ago
nick black 3ff083b73f Fade API: move control of delays into callback 4 years ago
nick black be35dee206 reuse and destroy new plane in OIIO streamer #660 4 years ago
nick black 607353d96c reuse and destroy newly-created plane in ncvisual_stream() #660 4 years ago
nick black a617598f13 notcurses_drop_planes(): fix up links #661 4 years ago
nick black e879bf8f93
let outro demo run on no-multimedia builds 4 years ago
nick black 8709387590 Implement CELL_ALPHA_BLEND for all blitters #652 4 years ago
nick black 6a9bbad91e
Visual C++ constructor test #538 4 years ago
nick black 0331ae4c4c
introduce NCVISUAL_OPTION_BLEND #652 4 years ago
nick black acd956393b
subproc: remove debugging cruft 4 years ago
nick black 33318254b2
absorb first ncvisual_decode into ncvisual_from_file() #655 4 years ago
nick black 10b134b596
outro: render the first frame of samoa along with changes #652 4 years ago
nick black 8da22e4425
zaxis: reset links in the direction of travel 4 years ago
nick black f47bde1c4e
Graceful fallback among blitters #637
If we're in ASCII mode, no blitter except for NCBLIT_1x1 is going to
work. Whenever NCBLIT_DEFAULT is provided, select NCBLIT_1x1 if we're
in ASCII mode. Add NCVISUAL_OPTIONS_MAYDEGRADE and
NCPLOT_OPTIONS_MAYDEGRADE. Both serve to allow smooth degradation when a
blitter other than NCBLIT_DEFAULT has been provided. Closes #637.

Make calc_gradient_cell() static inline so our templated ncppplot
implementation can use it (ugh). When using NCBLIT_1x1 for plots in
ASCII mode, use space rather than full block, and invert colors.

Use NCBLIT_DEFAULT in the demo for the FPS plot.
4 years ago
nick black 33c0e7fa2c
banner: reset stderr after printing any warnings 4 years ago
nick black cce55f1d4e
ncplot: fix top row calculations #642 4 years ago
Nick Black ebcba82d4b
Fully general ncvisual layer (#647)
This represents an essentially complete rewrite of ncvisual and associated code. It had two major goals:

Improve the ncvisual API based off lessons learned, pursuant to the upcoming API freeze. In particular, I wanted to:

decouple ncvisuals from ncplanes. It should be possible to render a ncvisual to multiple planes, with different scaling each time. It should be possible to create an ncvisual without a plane, etc.
normalize the various ways of constructing an ncvisual -- file, memory, plane, etc.
Support multiple blitters, from 7-bit ASCII to Sixel. This required writing the blitters in several cases, and they're not yet in their final implementations (but the API is fine)
I have not yet unified Plots and Visuals, and might not, given that the Plot code works fine. We could at this point implement Plots in terms of Visuals, though -- the blitter backend range has been unified. Sixel is not yet implemented, though it is listed.

There is a new POC tool, blitter. It renders its arguments using all possible blitter+scaling combinations. Another new POC, resize, displays its argument, then resizes it to the screen size and displays that, explicitly making use of ncvisual_resize() rather than a scaling parameter to ncvisual_render().

This also eliminates some memory leaks and bugs we were seeing in trunk, and brings in Sixel scaffolding.

The C++ wrapper will also need patching back up; I cut most of it down while wrestling with this crap, urk.

Closes #638, #562, and #622.
4 years ago
nick black b80ac3d241
demo: move HUD/about to top of screen 4 years ago
Marek Habersack b5d8549bb3 [C++] Allow multiple instances of `NotCurses`
This is to make it possible, in the future, to create multiple instances
of `NotCurses` for multiple terminals.  The first instance of
`NotCurses` becomes the default one, so that any instances of other
classes that aren't explicitly created with a pointer to another
`NotCurses` instance still work as expected.

Note that currently trying to call `notcurses_init` twice results in the
following error for me:

    0x55555559bfc0 is already registered for signals
    Couldn't drop signals: 0x55555559bfc0 != 0x5555555b6720
    terminate called after throwing an instance of 'ncpp::init_error*'

    Program received signal SIGABRT, Aborted.

The error is signalled by `setup_signals` and the pointer shown in the
message points to the first `struct notcurses` instance created.
4 years ago
nick black e097723a63
subproc: on older linux, fall back to fork() 4 years ago
nick black 8971bda0c2 ncpp: stop() resets _instance, add unit test #538 4 years ago
nick black 4347cd956a merge in master changes 4 years ago
nick black 9675ed251e
eagle demo: work with ascii mode #634 4 years ago
Marek Habersack 9ca8d9c9c6 Correctly cast `ncpp::Plane` to `ncplane*`
Fixes: https://github.com/dankamongmen/notcurses/issues/616

SIGSEGV was caused by an invalid cast.

Short explanation: PEBKAC

Long explanation: `Selector.hh`, `Plot.hh` and `MultiSelector.hh` did
not include `Plane.hh`, they merely declared `class Plane;` because
inclusion of `Plane.hh` would cause circular dependencies to appear and
the compiler would be unhappy.  On top of that, yours truly wrenched the
compiler's hands and caused it to believe that a pointer to `Plane` is
really a pointer to `ncplane*` which was quite a silly thing to do as
the compiler, not having included `Plane.hh` and thus not knowing full
definition of the type, wasn't able to look up the type cast operator in
`Plane`.

Don't abuse `reinterpret_cast`, kids!
4 years ago
nick black ba8d80d444
procroller: don't recurse on argv[0], whoops 4 years ago
nick black cce9384ab8
ncmetric: adapt PREFIXFMT to multibyte #630 4 years ago
nick black 4e9f46e063
Correct scaling in qrcode_rows() 4 years ago
nick black e682b4fae8
qrcode: only render sufficiently small codes #629 4 years ago
nick black f425944bba
FreeBSD: move back to getrandom(); read_random() is kernelspace 4 years ago
nick black 2b5546fc4c
plot: make 8x1 the default glyph geometry 4 years ago
nick black 7215bf92ad
throw somed attributes on a few functions 4 years ago
nick black 7e12436196
reader poc: fix Plane memory leak #624 4 years ago
nick black 57fb7fc96a
sgr poc: don't put critical logic in assert() #624 4 years ago
nick black f9f76046d5
sgr poc: don't put critical logic in assert() #624 4 years ago
nick black 4ab0e67155
tetris: rely on c++ exceptions #621 4 years ago
nick black 37a4114f42
O(1) z-axis moves #623
Replace the singly-linked z-axis with a doubly-linked list,
and reimplement all z-axis moves as O(1) functions.
Eliminate ncplane_move_{above/below}_unsafe(), as there are no
longer unsafe moves.
4 years ago
nick black 2edb7fe690
handle clang11 -Wc99-designator 4 years ago
nick black 3119a87801 init_banner(): need use stdio directly for styling 4 years ago
nick black 99bd3fd597
recenter post-rotation in normal demo #617 4 years ago
nick black bcdf513e31
direct poc: exit out on bad ncdirect_cursor_up() 4 years ago
nick black e5b1c2cdea
view/demo/tetris: NCOPTION_INHIBIT_SETLOCALE 4 years ago
nick black 818ec25778
notcurses_stop: call del_curterm, plug memory leak 4 years ago
nick black 7f2888269f
all PoCs: use NCOPTION_INHIBIT_SETLOCALE 4 years ago
nick black 381263e9fe
Unify interrogate_terminfo() #614 4 years ago
nick black 30412d54ce
ncreel: fix up rendering, reel display #618 4 years ago
nick black 8ff3402166
move terminfo cache into its own shared struct #614 4 years ago
nick black bd4d4ef321 import init_banner() outfactoring 4 years ago
nick black 390dc208ba freebsd: use read_random() 4 years ago
nick black 321908d824
ncplane_vprintf_prep(): remove dumb comment #612 4 years ago
nick black e80ac4ddb9
normal demo: work with odd number of columns :/ 4 years ago
nick black bad0ea9127
normal demo: reset underlying plane 4 years ago
nick black e2a9094ed0
notcurses_init(): drop_signals on error path 4 years ago
nick black d37a3934d1
normal-demo: get a nice scroll-opening 4 years ago
nick black 1337091c46
normal demo: get it mostly working 4 years ago
nick black bc7b58c5df
ncvisual_from_plane(): apply vertical scaling 4 years ago
nick black 8ec5388448
normal demo: use demodelay 4 years ago
nick black 30f049d2e6
metric: don't allow scales that cause overflow #611 4 years ago
nick black 0688b95c01
metric: properly print usuffix on small values 4 years ago
nick black eb72a4612d
qprefix/bprefix: use uintmax_t for decimal 4 years ago
nick black 3b9232217e
rotation: comment out some debugging cruft 4 years ago
nick black a6629e2ae8
handle_csi: translate mouse coordinates by margins #609 4 years ago
nick black 84c51d9bde
perfect exponential plots #606
Previously, we had the first interval top out at 1.0. This made
clean mathematical sense, but it meant that we wasted the lowest
|states - 1| representations. We now top out at ibase**(states - 1).
The very bottom representation tops out at 1, meaning that any data
is always distinguishable from no data. We no longer explicitly
print spaces (aka the zeroth state for each glyph clade), so that
we can exhibit more transparency. Properly account for miny at
all times. Slots in an exponential plot are now exponential
throughout; before, it was exponential across rows, and linear
within a row.
4 years ago
nick black 31cc26b893
xray demo: much simplification 4 years ago
nick black 25fee034cb
ncplot: print EGC before breaking on small glyph #605 4 years ago
nick black fe3d6b31e2
ncmetric: print prefix with %lc #540 4 years ago
nick black d1b5a39135 ncvisual_stream(): update python streamcb typedef 4 years ago
nick black c824e1ac02 ncvisual_stream(): update OIIO implementation #604 4 years ago
nick black 289b018612 view-demo: cleanup, opaque 4 years ago
nick black e751557936 debug(): stretch out headers/footers 4 years ago
nick black e36a42bb24 xray demo: adapt to new streaming API 4 years ago
nick black 78e30831dd move timespec 4 years ago
nick black 61aa09eae0
ncplane_rgba(): properly set up alpha channel 4 years ago
nick black 2c73162c62
notcurses-view: %jd + intmax_t for 32-bit 4 years ago
nick black 2588baa7db
reel: correct wchar_t check for error on 32-bit 4 years ago
nick black 7d87f8aa20
demo: printf changes for 32-bit archs 4 years ago