nick black
fe61082c5c
account for sprixel bytes emitted in new stat #1801
2021-06-20 08:51:23 -04:00
nick black
e5662ac506
add and document sprixelbytes stat #1801
2021-06-20 08:51:23 -04:00
joseLuís
90a2ff6fca
[rust] fix pixel-cell example
...
- fix some docs and parameter names.
2021-06-20 13:48:26 +02:00
nick black
2f23409d97
finish out interp PoC #1796
2021-06-20 07:26:55 -04:00
nick black
091bc1e625
interp PoC #1796
2021-06-20 07:21:50 -04:00
nick black
6152f621ba
microoptimize extract_version()
2021-06-20 06:47:52 -04:00
nick black
b2d04feffd
factor out extract_version(), get WezTerm version #1798
2021-06-20 06:46:34 -04:00
nick black
d0889d3615
extract contour version from XTVERSION #1798
2021-06-20 06:42:35 -04:00
nick black
454d548650
extract XTerm version from XTVERSION #1798
2021-06-20 05:48:42 -04:00
nick black
ed04cb72c5
termdesc: set up termversion #1798 , print in banners
2021-06-20 05:43:34 -04:00
nick black
8d86fd3162
prep for DECRPM #1582
2021-06-20 05:22:43 -04:00
nick black
37aa8efd7c
set the BSU/ESU escapes when detected in response to queries #1582
2021-06-20 05:22:43 -04:00
nick black
57e418284e
add ESCAPE_BSU/ESU, clean up query_state #1582
2021-06-20 05:22:43 -04:00
nick black
878eebde0a
kill unused tinfo fields BCEflag/AMflag
2021-06-20 05:22:43 -04:00
nick black
086ee695c1
terminfo: properly excise delays, preserving trailer #1688
2021-06-20 00:01:33 -04:00
nick black
204e1527d8
termdesc: no need to query Secondary Attributes
2021-06-19 23:21:18 -04:00
nick black
1d1a66899f
add some query documentation to TERMINALS.md #1335 #1798
2021-06-19 23:20:56 -04:00
nick black
e530a6d27a
tighten up notcurses-info output
2021-06-19 20:28:25 -04:00
nick black
ff1d8b1249
tinfo_debug_caps: properly line up unicode 13 symbols
2021-06-19 20:18:06 -04:00
joseLuís
e5092ad4eb
[rust] add ncvisual_from_rgb_* functions and methods
...
- update some docs.
2021-06-19 13:04:45 +02:00
joseLuís
b2b31e723a
fix doc-comments for ncvisual_from_rgb_* #1794
2021-06-19 13:02:03 +02:00
nick black
1bfb230553
add VisualFromRGBxPacked unit test
2021-06-19 05:14:09 -04:00
nick black
c5542cbd1a
add unit test VisualFromRGBPacked #1767
2021-06-19 05:14:09 -04:00
nick black
d360cc1d1e
ncvisual_from_rgb_{packed, loose}() #1767
2021-06-19 05:14:09 -04:00
joseLuís
4a16ccc78a
[rust] temporary fix for bindgen warnings
2021-06-19 09:55:14 +02:00
joseLuís
d38a63ca04
[rust] add NCDIRECT_OPTION[_VERY]_VERBOSE consts
2021-06-19 09:49:48 +02:00
nick black
67e2f016e8
README: tighten up top text
2021-06-19 03:39:56 -04:00
nick black
cc99056826
use new logo
2021-06-19 03:39:56 -04:00
nick black
26752b109a
README: link to notcurses III video
2021-06-19 03:39:56 -04:00
nick black
c8dfa17485
Set up sane logging for direct mode
...
All our diagnostic macros required a struct notcurses from
which to extract the loglevel. Eliminate this parameter,
and update all caller sites. Add a library-wide (but not
exported) loglevel variable, and set it from both
notcurses_core_init() and ncdirect_core_init(). Add two
new direct mode flags, NCDIRECT_OPTION_VERBOSE and
NCDIRECT_OPTION_VERY_VERBOSE, mapping them to
NCLOGLEVEL_WARNING and NCLOGLEVEL_INFO respectively.
Closes #1690 .
2021-06-19 03:21:05 -04:00
joseLuís
391c58e4ed
[rust]
...
- add ncdirect_canget_cursor
- made ncplane_notcurses require a non-mutable reference.
2021-06-19 08:42:04 +02:00
nick black
9f8a00560c
README: break up badges
2021-06-19 02:10:56 -04:00
nick black
350f531a5a
sexblitter: honor nointerpolate throughout #1763
2021-06-19 01:25:24 -04:00
nick black
048f2f5e77
handle nointerpolate in transparent sexblitter cell #1763
2021-06-19 01:12:49 -04:00
nick black
29f0243cbf
quadblitter: no interpolation with NCVISUAL_OPTIONS_NOINTERPOLATE #1763
2021-06-19 01:02:50 -04:00
nick black
bd633d697a
[rust] idiot
2021-06-19 00:20:40 -04:00
nick black
b3ed98b686
rust: adapt to non-const ncdirect_get_{xy}() #1789
2021-06-19 00:11:36 -04:00
nick black
534000cadb
clamp sixel height in update_term_dimensions() so ncdirect gets it #1789
2021-06-19 00:02:50 -04:00
nick black
50a304bada
Avoid drawing sixel to the bottom row
...
Sixels, unlike Kitties, can't be drawn to the bottom row,
lest we scroll. We were properly guarding against creation
of a sixel that touched the bottom row when creating the
plane within ncvisual_blit(), but not when we were provided
with a plane. This used to be fine because ncplayer cut the
plane off less one row, but when we enabled the bottom row
for Kitties, this ceased. We don't want to expose this wart
to userspace, so instead clamp sixel_maxy based off the screen
height when appropriate. Closes #1789 .
1789?!?! Liberté, Egalité, Fraternité!
2021-06-18 18:42:30 -04:00
nick black
fc390da020
invert DECSDM for terminals with sprixel_cursor_hack set #1782
2021-06-18 15:35:18 -04:00
nick black
574eef2e28
need to call sprite_init() from setup_sixel_bitmaps()
2021-06-18 15:35:18 -04:00
nick black
5e16208801
remove garbage CursesStyles unit test #1791
2021-06-18 15:08:31 -04:00
nick black
3cb537c3fc
only list sgr styles as supported if we have sgr #1791
2021-06-18 15:05:35 -04:00
nick black
32c34b1782
ncdirect_style_emit: return 0 when no sgr is defined #1791
2021-06-18 14:50:23 -04:00
nick black
ce2b89552a
direct cursor tests require ncdirect_canget_cursor() #1790
2021-06-18 14:26:20 -04:00
nick black
c9a338e0fd
add ncdirect_canget_cursor() #1790
2021-06-18 14:24:35 -04:00
nick black
b50bab7880
remove unused function get_p2 from sixel.c
2021-06-18 14:07:39 -03:00
nick black
0bfef5b0ef
constify arguments to ncplane_notcurses/ncplane_pile
2021-06-18 10:35:30 -04:00
joseLuís
8f234368d8
make ncplane_pixelgeom
require a const reference
2021-06-18 15:53:25 +02:00
joseLuís
1ea663229a
[rust] refactor NcDirect
...
- add missing method `cansextant`.
- rename several cursor functions for consistency.
- fix & update poc-direct example.
- update docs.
2021-06-18 15:52:20 +02:00