Commit Graph

7676 Commits

Author SHA1 Message Date
nick black
6c5bc6b396 [rendercore] on fg elide, persist previous fg rgb 2021-11-30 02:03:09 -05:00
nick black
ffc5993eec [rendercore] drop diagnostic 2021-11-30 02:03:09 -05:00
nick black
1be43cb54a [rendercore] omit fg on rgbequal #1316 2021-11-30 02:03:09 -05:00
nick black
0761994abb mark some string literals as utf8 2021-11-30 02:03:09 -05:00
nick black
dc527439d4 [rendercore] cleanup, drop 'alttext', add 'noforeground' 2021-11-30 02:03:09 -05:00
nick black
7a91a2f905 normalize cell initializer names (prefix with NC) 2021-11-30 02:03:09 -05:00
nick black
b340f01a0a always use space when fgrgb == bgrgb #1316
When both foreground and background are using RGB, and
the two channels are the same RGB value, the glyph will
be invisible; emitting a space with the correct background
can save RGB escapes and glyph bytes. Eliminates several
longstanding FIXMEs in the Stacking unit tests. Add a new
function nccell_rgbequal_p(), and unit testing for it.
Add a new unit test to check that this optimization has
taken place, and that it has only taken place in the
rasterization phase--the original plane must be unchanged.
Closes #1316.
2021-11-30 02:03:09 -05:00
nick black
0b75f06abd add and unit test nccell_rgbequal_p() #1316 2021-11-30 02:03:09 -05:00
nick black
c298563e32 [FgMatchesBg] new unit test for optimized fg==bg #1316 2021-11-30 02:03:09 -05:00
nick black
3139bf019a
[initlang] fix sense of ASCII test 2021-11-30 01:53:01 -05:00
nick black
282744b39d
much more attractive windows logo 2021-11-29 22:25:07 -05:00
nick black
75bd0dd0bc
use notcurses_data_dir() in tester, fetch 2021-11-29 22:19:45 -05:00
nick black
d85a0b213a [windows] dump diagnostic 2021-11-29 22:02:24 -05:00
nick black
4b3b904040 [windows] use DataDir for registry key, not InstallDir 2021-11-29 22:01:40 -05:00
nick black
abb99d4a67
[notcurses-demo] don't hardcode NOTCURSES_SHARE, use notcurses_data_dir() 2021-11-29 21:34:32 -05:00
nick black
e4cf772a4d
[python] hate 2021-11-29 13:53:28 -05:00
nick black
5ab251e8d8
[python] sigh 2021-11-29 13:32:25 -05:00
nick black
17994e422f
[python] endless python troubles 2021-11-29 13:20:59 -05:00
nick black
7b4ff301eb
[python] long_as_ulong 2021-11-29 13:10:37 -05:00
nick black
8d0e452c9c
[python] long_as_ulong 2021-11-29 12:57:19 -05:00
nick black
b6bcf93f83
[python] unsigned margins 2021-11-29 12:41:59 -05:00
nick black
df689d9104
[notcurses_options] unsigned margins 2021-11-29 12:13:16 -05:00
nick black
233d32be04
kill obsolete FIXME in sprixel_rescale 2021-11-28 18:14:21 -05:00
nick black
2d3fb9f12e [xray] hold at 15s (true runtime of source media) 2021-11-28 18:13:48 -05:00
nick black
38daf44fb3 [sprite_rebuild] don't change state on a no-op 2021-11-28 18:13:48 -05:00
nick black
5665adc8cc fbcon_rebuild: use direct cellpx when appropriate 2021-11-28 18:13:48 -05:00
nick black
39310f5797 update_term_dimensions: set cpix for linuxfb 2021-11-28 18:13:48 -05:00
nick black
8645511b63 [sprixel_rescale] rebuild all cells using old TAM 2021-11-28 18:13:48 -05:00
nick black
ae2338c7a5 [render] refresh on resize #1687 2021-11-28 18:13:48 -05:00
nick black
affece853c [sprixel_rescale] hook up to the main paint() path #1687 2021-11-28 18:13:48 -05:00
nick black
47e842d6dc [input] properly identify EINTR 2021-11-28 18:13:48 -05:00
nick black
0d933a180d [splice_rescale] implement, hook up to splice_zaxis_recursive #1687 2021-11-28 18:13:48 -05:00
nick black
6da5392724 [ncplane_reparent] pass cell-pixel geometries into splice_zaxis_recursive() #1687 2021-11-28 18:13:48 -05:00
nick black
135208eafe [input] recognize 0x1b 0x5b 0x45 as begin #2396 2021-11-28 18:13:48 -05:00
nick black
cd9071b4a4
[ncstrwidth] comment clarification 2021-11-28 18:11:09 -05:00
joseLuís
1cc8640f52 fix typo 2021-11-28 20:54:54 +01:00
nick black
ab233d85ee
[input] enable legacy f2 2021-11-28 11:56:40 -05:00
nick black
f568f4617a
[FAQs] fix up syntax 2021-11-28 11:34:34 -05:00
nick black
db9d15f795 [sprite_load] kill unnecessary check 2021-11-28 10:36:42 -05:00
nick black
0dbb469a27 [sprixels] use cell-pixel geometry from ncpile #1687 2021-11-28 10:36:42 -05:00
nick black
b26bc27072 FAQ entry about 'just displaying an image' 2021-11-28 10:36:42 -05:00
nick black
0925da36f7
[xray] brighten drop count 2021-11-28 10:07:39 -05:00
nick black
549fcac603
[ncplane_dup] don't use ncplane_cursor_move_yx(), set cursor directly 2021-11-28 08:14:11 -05:00
nick black
6f90d20543
[xray] make the drop count redder with more drops 2021-11-28 08:13:49 -05:00
nick black
fe20da9492
[input] legacy begin, end, home #2394 2021-11-28 07:03:44 -05:00
nick black
fc8b8813c2
[input] handle legacy disambiguated arrow keys #2394 2021-11-28 06:57:21 -05:00
nick black
230e8713d8
[xray] don't even render drop count/slider when behind 2021-11-28 06:36:22 -05:00
nick black
07bdfd8b0f
[xray] balance out singleton case 2021-11-28 06:28:24 -05:00
nick black
a5d79da1f0 [xray] add drop count with guy getting more and more pissed off 2021-11-28 06:09:10 -05:00
nick black
3a458c98c3 [xray] draw 5% of frames that would be dropped #2385 2021-11-28 06:09:10 -05:00