nick black
dc02a8f04b
notcurses_stop_minimal: use reliable I/O
...
fflush(), so far as i can tell, cannot be reliably used
in glibc. after it fails once, subsequent calls return 0
and do not set errno -- only the persistent ferror() serves
to indicate that flushing is not going on. instead, write
into the render state's memstream, and then use reliable
blocking_write() to dump it to stdout. closes #1872 .
2021-07-04 05:09:17 -04:00
nick black
ed8c369d4e
on pile change, clear old sprixels #1875
2021-07-04 03:32:20 -04:00
nick black
9d27bf1869
remove meaningless notcurses_check_pixel_supprot() from ncplayer
2021-07-04 01:30:44 -04:00
nick black
588f8d3789
drop signals at the end of reset_term_attributes() #1872
2021-07-04 00:05:51 -04:00
nick black
205a8bd764
faster nccell_width()
...
nccell_width() ought simply consult the nccell's width
field to get a column count (it was written before the
rearrangement of nccell). do so. fix up the macros
CELL_CHAR_INITIALIZER and CELL_INITIALIZER to assign a
width of 1 for non-printing characters, matching the
behavior of utf8_egc_len() on whitespace. instead of
hard-coding the logic in ncplane_put() for multicolumn
glyphs, call nccell_wide_right_p() and wide_left_p().
use nccell_width() in ncplane_putc_yx(), fixing it for
glyphs of more than 2 columns.
2021-07-03 22:38:48 -04:00
nick black
505f38956d
Fade unit test: use CELL_CHAR_INITIALIZER
2021-07-03 21:52:32 -04:00
nick black
0e341fa3de
notcurses-info.1: describe output
2021-07-03 19:25:42 -04:00
nick black
1287d8bd03
combine some writes
2021-07-03 05:00:26 -04:00
nick black
d558c8d6e1
require set_pixel_blitter() for sixel_blit
2021-07-03 00:26:24 -04:00
nick black
5af6f58e07
Visual: render 1x1->fullscreen #1675
2021-07-02 23:26:56 -04:00
nick black
feccb7dab8
purge wayward notcurses_debug() calls in pile unit tests
2021-07-02 23:10:09 -04:00
nick black
f219a21732
ResizeThenRotateFromMemory is garbage =[
2021-07-02 23:05:13 -04:00
nick black
4d1681bf11
fix dumb error in ResizeThenRotateFromMemory #1722
2021-07-02 22:35:58 -04:00
nick black
d8c37337d9
allow different backends to specify their own padding requirements #1722
2021-07-02 22:09:58 -04:00
nick black
a10959345a
null media implementation: don't colorize warning
2021-07-02 21:10:15 -04:00
nick black
cb6ffee3a7
OpenImageIO: simplify TypeDesc declarations #1722
2021-07-02 20:26:09 -04:00
nick black
d70aed8939
tighten up banner warnings
2021-07-02 19:13:31 -04:00
nick black
c2a076a6b3
banners: properly account lines
2021-07-02 19:07:06 -04:00
nick black
4f8a8597a1
fold a few escape emissions down into single flushes
2021-07-02 18:57:27 -04:00
nick black
4cc69c445d
rasterize: use a single ncflush(), even with SUM
2021-07-02 18:57:27 -04:00
nick black
8bdd4b3908
ncfputc: we can use putc() here
2021-07-02 18:57:27 -04:00
nick black
5d7f2ce92f
visual_banner: always print to nc->ttyfp
2021-07-02 18:57:26 -04:00
nick black
de8bb9d498
clearall: take a FILE, not an fd
2021-07-02 18:57:26 -04:00
nick black
a99d096666
input: convert some stderr to logerror/logwarn()
2021-07-02 18:57:26 -04:00
nick black
a36c13da13
merge notcurses-info changes from kitty branch
2021-07-02 18:57:26 -04:00
nick black
9c1f489bb6
merge ncseqs.h from kitty branch
2021-07-02 18:57:22 -04:00
nick black
b4bf1297e1
only invert DECSDM on MLterm < 3.9.1 #1869
2021-07-02 13:34:31 -04:00
nick black
6615f52fe3
extract MLterm version from XTVERSION #1869
2021-07-02 12:52:58 -04:00
nick black
ef2e4e626e
[dragon] properly size input visual #1723
2021-07-01 05:28:30 -04:00
nick black
bf3caa8198
disable kitty ASU while it breaks graphics #1864
2021-07-01 05:17:37 -04:00
nick black
581a33f5e2
a mysterious space!
2021-07-01 02:42:31 -04:00
nick black
4c8bfbd405
notcurses-info: rewrite U13 in terms of NCANGLE*
2021-07-01 02:27:32 -04:00
nick black
0bfa8c33fd
[sixel] clean up cells even when under a new sixel #1537
2021-06-30 23:59:07 -04:00
nick black
5cf24d4d2e
mojibake: add emoji from unicode 14.0β
2021-06-30 21:39:02 -04:00
nick black
4a8d075e64
add NCBOXOUTER #1858
2021-06-30 19:53:21 -04:00
nick black
7e2c6fc005
notcurses-info: tighten up all output
2021-06-30 19:33:48 -04:00
nick black
62e0c226d8
brighten up initial banner
2021-06-30 19:28:54 -04:00
nick black
866ffd91dd
tighten up initial banners further
2021-06-30 19:15:57 -04:00
nick black
a1d011fdc2
notcurses-info: hold off on displaying logo
2021-06-30 18:50:53 -04:00
nick black
89fee267b7
notcurses-info: pack more densely
2021-06-30 18:41:10 -04:00
nick black
62dd65dd84
tighten up intro banner #1837
2021-06-30 18:40:30 -04:00
nick black
1193e40fd1
notcurses-info: show logo pursuant to #1649
2021-06-30 17:59:25 -04:00
nick black
3596b2b2a2
NEWS: describe pure changes
2021-06-30 17:44:54 -04:00
nick black
37fbd526ed
ncvisual_blitset_geom: handle non-origin with CHILDPLANE #1854
2021-06-30 17:40:37 -04:00
nick black
35b57ddb91
remove useless notcurses_check_pixel_support() calls
2021-06-30 17:34:44 -04:00
nick black
4177486e26
mark capability functions as ((pure))
2021-06-30 17:32:07 -04:00
nick black
15d6cfaf35
allow pixels to stdplane with NCVISUAL_OPTION_CHILDPLANE #1854
2021-06-30 17:31:57 -04:00
nick black
6f1bbf82d0
add prefix_data()
2021-06-30 17:31:06 -04:00
nick black
a17800b034
notcurses-info: add fractions
2021-06-30 17:30:39 -04:00
nick black
301e76956e
[querylex] handle fail on set cregs
2021-06-29 21:01:58 -04:00