Commit Graph

3838 Commits (fef33ad2aa9616041bc60a3e57d291473c1ecde4)

Author SHA1 Message Date
nick black e2a3af49b5
cursor_yx_get: fprintf -> logerror 3 years ago
nick black 405a1f2808
recognize tmux in XTVERSION #1901 3 years ago
nick black f3504b3bfe
DA2: don't force version interpretation #1901 3 years ago
nick black cefc98f55b
reset errno prior to reading control input #1901 3 years ago
nick black 672a761080
mmap() the linux framebuffer 3 years ago
nick black afad46b006
notcurses-info: admit -v for NCLOGLEVEL_TRACE 3 years ago
nick black 14a50cfa3f
add ncchannels_reverse, use it in ncmenu, add unit test #1878 3 years ago
nick black f0aec109b7
support menus on any plane #1645 3 years ago
nick black e631cac954
s/SPRIXCEL_/SPRIXCELL_/g 3 years ago
nick black b2dd44e06c
[kitty] convert fixed fprintfs to ncfputs 3 years ago
nick black 8b1c324353
[kitty] update summary comment 3 years ago
nick black 8846e3cee2
ncdirect_putegc(), get true width in ncwidth #1899 3 years ago
nick black 4a23acab2d
fission demo: go both up and down #1896 3 years ago
nick black 20603e5012
direct mode: fix for animation kitty 3 years ago
nick black 4d2a896cdd notcurses-info: distinguish animation from regular kitty #1895 3 years ago
nick black 66b8c7f004 [kitty] properly copy source for rebuild #1895 3 years ago
nick black 0aa8b5267c [kitty] fixup non-animated case 3 years ago
nick black 6d6f69a02b rebuild: only free auxvec for non-animation #1895 3 years ago
nick black 811bc9eb65 animated kitty rebuild #1895 3 years ago
nick black 22443d4b3a [kitty] fixups for non-animated case #1895 3 years ago
nick black a0b5a85e25 kitty: animated rebuild no longer crashes 3 years ago
nick black b9b26603ad kitty animation: everything up through rebuild works #1895 3 years ago
nick black af305f56c4 [kitty] clean up auxvecs on error #1895 3 years ago
nick black ebc405b165 [kitty] get most of animation working #1895 3 years ago
nick black d2e0c64a7c add kitty_transanim_auxvec() and kitty_wipe_animation() #1895 3 years ago
nick black 948553a980 extract sprite.h 3 years ago
nick black 4bb85d28c8
use non-interpolative scaling with eagle/luigi 3 years ago
nick black f339855c39
nccell_width: minimum width is 1 #1894 3 years ago
nick black b170ee98e1
you do not get to win https://www.youtube.com/watch?v=ASacQYJWOPI 3 years ago
nick black 6e19e0536e
demo: remove obsolete postinit_checks() 3 years ago
nick black 3c2fe36fc9
[kitty] pass C=1 for move command 3 years ago
nick black 1493045490
notcurses-info: hold off on displaying logo 3 years ago
nick black 5009a25721
stop warning on truecolor but no ccc 3 years ago
nick black d38c15302a
notcurses-info: add sub+superscripts 3 years ago
nick black b41928833f
replace fprintf with ncfputc 3 years ago
nick black e7ac7ab14b [kitty] C=1 needs be emitted with the presentation, not load #1865 3 years ago
nick black afd738a977 direct: write sprixels with posix i/o to work around blocking 3 years ago
nick black 0b794bba64 direct mode: work with separate load+display kitty #1865 3 years ago
nick black 56433a1a7f [kitty] free and release sprixel on commit to destroy #1890 3 years ago
nick black 2e7079a69e [kitty] silence present command #1865 3 years ago
nick black 9a53379d36 [kitty] keep display distinct from draw #1865 3 years ago
nick black 3f8dcfa357 kitty: separate out commit from draw #1865 3 years ago
nick black 3608d6a2d6 [kitty] pull remove out of destroy, rename destroy scrub #1865 3 years ago
nick black 3763739b9f
direct mode: write sprixel with posix i/o for strength 3 years ago
nick black 212da290ae Create mstreamfp before registering signal handlers
We use mstreamfp in notcurses_stop_minimal(), so we can't
register that function as a fatal signal handler until
we've opened mstreamfp. Move it before the registration.
Eliminates a coredump when we ctrl+c during init.
3 years ago
nick black 4a3e536c66
notcurses-info: completely shade lower right 3 years ago
nick black 32ade77dd5
more sequences, more notcures-info 3 years ago
nick black 88cccb4d2a
notcurses-info: colorize box block 3 years ago
nick black e915724b9f
utf8_codepoint_length: implement Corrigendum#1
Dmitry Sapozhnikov pointed out that I was admitting
illegal first bytes; I was also just plain wrong.
Bring this up to sync with Corrigendum #1.
3 years ago
nick black 29f1acc479
bulk up scrolling unit test #1649 3 years ago
nick black 8df91e35a9
unit test for virtual cursor on scrolling plane #1649 3 years ago
nick black 0941efbea5
unit tests for ncplane_moverel() 3 years ago
nick black da3f485ace
notcurses-info: add many triangles 3 years ago
nick black 8dc65b6db1 notcurses-info: always emit newline #1837 3 years ago
nick black 669cf758df
locate_cursor_early: fix compilation 3 years ago
nick black e870e12285
locate_cursor_early: require ttyfd #1880 3 years ago
nick black acc66372b5
add utf8_codepoint_length() #1871 3 years ago
nick black 70b8bba715
Merge branch 'master' of github.com:dankamongmen/notcurses 3 years ago
nick black d7aac5461a reacquire cursor following init banner
when using NCOPTION_PRESERVE_CURSOR, we want to reacquire
the true cursor position after printing the init banner,
rather than trying to figure out how many lines it made
us scroll, and keeping that up to date. this improves the
notcurses-info output on freebsd, where the compiler line
was occupying more than one row. closes #1880.
3 years ago
nick black 50a7996b4f
notcurses_detected_terminal: use termdesc_longterm() 3 years ago
nick black 5451ecd890
return version in ncdirect_detected_terminal() 3 years ago
nick black bc213921be
interrogate_terminfo: placeholders for cursor
always get the cursor location from query responses,
so that we load u7 into the escape table even though
it wasn't found in terminfo. this is needed on freebsd,
where termcap doesn't seem to have u7 in it.
3 years ago
nick black 4ed41259c9
don't emit smkx twice, flatten all initial writes 3 years ago
nick black 488a36eaf5
ncplayer: remove meaningless notcurses_check_pixel_support() call 3 years ago
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.
3 years ago
nick black ed8c369d4e on pile change, clear old sprixels #1875 3 years ago
nick black 9d27bf1869
remove meaningless notcurses_check_pixel_supprot() from ncplayer 3 years ago
nick black 588f8d3789
drop signals at the end of reset_term_attributes() #1872 3 years ago
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.
3 years ago
nick black 505f38956d
Fade unit test: use CELL_CHAR_INITIALIZER 3 years ago
nick black 0e341fa3de
notcurses-info.1: describe output 3 years ago
nick black 1287d8bd03
combine some writes 3 years ago
nick black d558c8d6e1
require set_pixel_blitter() for sixel_blit 3 years ago
nick black 5af6f58e07
Visual: render 1x1->fullscreen #1675 3 years ago
nick black feccb7dab8
purge wayward notcurses_debug() calls in pile unit tests 3 years ago
nick black f219a21732
ResizeThenRotateFromMemory is garbage =[ 3 years ago
nick black 4d1681bf11
fix dumb error in ResizeThenRotateFromMemory #1722 3 years ago
nick black d8c37337d9
allow different backends to specify their own padding requirements #1722 3 years ago
nick black a10959345a
null media implementation: don't colorize warning 3 years ago
nick black cb6ffee3a7
OpenImageIO: simplify TypeDesc declarations #1722 3 years ago
nick black d70aed8939
tighten up banner warnings 3 years ago
nick black c2a076a6b3
banners: properly account lines 3 years ago
nick black 4f8a8597a1
fold a few escape emissions down into single flushes 3 years ago
nick black 4cc69c445d
rasterize: use a single ncflush(), even with SUM 3 years ago
nick black 8bdd4b3908
ncfputc: we can use putc() here 3 years ago
nick black 5d7f2ce92f
visual_banner: always print to nc->ttyfp 3 years ago
nick black de8bb9d498
clearall: take a FILE, not an fd 3 years ago
nick black a99d096666
input: convert some stderr to logerror/logwarn() 3 years ago
nick black a36c13da13
merge notcurses-info changes from kitty branch 3 years ago
nick black 9c1f489bb6
merge ncseqs.h from kitty branch 3 years ago
nick black b4bf1297e1
only invert DECSDM on MLterm < 3.9.1 #1869 3 years ago
nick black 6615f52fe3
extract MLterm version from XTVERSION #1869 3 years ago
nick black ef2e4e626e
[dragon] properly size input visual #1723 3 years ago
nick black bf3caa8198
disable kitty ASU while it breaks graphics #1864 3 years ago
nick black 581a33f5e2
a mysterious space! 3 years ago
nick black 4c8bfbd405
notcurses-info: rewrite U13 in terms of NCANGLE* 3 years ago
nick black 0bfa8c33fd [sixel] clean up cells even when under a new sixel #1537 3 years ago
nick black 5cf24d4d2e mojibake: add emoji from unicode 14.0β 3 years ago
nick black 4a8d075e64
add NCBOXOUTER #1858 3 years ago
nick black 7e2c6fc005
notcurses-info: tighten up all output 3 years ago