Commit Graph

957 Commits

Author SHA1 Message Date
nick black
aadf98179a
Debian: dep on python3-cffi and -setuptools 2020-01-25 09:59:49 -05:00
nick black
24fc43fab5
demo: support 100k+ frames in HUD 2020-01-25 08:03:58 -05:00
nick black
2cad2bbfd5 direct mode: properly initialize termcaps #77 2020-01-25 07:17:45 -05:00
nick black
bc15d517d3
python wrappers for direct mode 2020-01-25 01:42:28 -05:00
nick black
81b58234ee
direct mode: reset terminal, check vals #77 2020-01-25 01:37:51 -05:00
nick black
1fd0563093
Direct mode with its own type #77
Introduce the new type 'ncdirect', a stripped-down 'notcurses'
suitable for inline modification of regular output. Used the new
type because otherwise there were going to be if(directmode) checks
everywhere. Direct mode encompasses only colorizing and styling.
Add new man page notcurses_directmode(3). Add new section to README.
Add new PoC using direct mode RGB. Update demo table summary to use
direct mode.
2020-01-25 01:13:04 -05:00
nick black
83e40d3472
direct mode RGB PoC 2020-01-24 23:29:13 -05:00
nick black
ceb15e4e8f demo summary: PoC direct mode with color #77 2020-01-24 04:06:41 -05:00
nick black
3d4e157af6 direct-mode coloring #77 2020-01-24 04:06:41 -05:00
nick black
d8849bb4b1 uniblocks: add a few missing blocks 2020-01-24 04:06:41 -05:00
nick black
e899f8b7ed demo summary: also print real FPS 2020-01-24 04:06:41 -05:00
nick black
2ea10d4b28 Remove clear_screen_start option
As it turns out, we can't portably load the initial terminal contents
(there are some hacks of various EXTREME nature, but none of them are
worth it for the rather limited benefit). The O(1)-time damage
inference requires knowledge of what was previously present to
inibit unnecessary draws. We would then need some special cell value
indicating "not yet written to" to distinguish a purposeful null
cell from an initial cell. Again, we could do this, but for what value?

Finally, the idea of clearing new area on SIGWINCH was always flawed,
as we can't do that from a signal handler.

With the advent of direct mode #77, the reason for this largely goes
away in any case.
2020-01-24 04:06:41 -05:00
nick black
5992d3f610
debian: update copyrights 2020-01-22 22:43:45 -05:00
nick black
d1d4b9f14e
debian policy 4.5.0.0 2020-01-22 22:38:25 -05:00
nick black
78650e00da
replace gibberish with einstein field equation RHS 2020-01-22 22:07:23 -05:00
nick black
55699c6a3c
render summary: autoscale all times 2020-01-22 08:28:56 -05:00
nick black
4f719b5405
top-level credit to @grendello for c++ wrappers #212 2020-01-22 06:51:25 -05:00
Marek Habersack
75a90461dd Add C++ bindings 2020-01-22 06:47:43 -05:00
nick black
22f71c9a80
implement quantize_rgb8() for linux console #288 #4 2020-01-21 00:43:36 -05:00
nick black
48025cd794
report Alt in ncinput #228 2020-01-20 00:10:18 -05:00
nick black
be3a53f3cf
input: function key defs through kf59 2020-01-20 00:00:09 -05:00
nick black
1aa462385e
detect ctrl+letter, prep ncinput appropriately #228 2020-01-19 23:45:55 -05:00
nick black
507c3e1d00
expunge wayward fragment of comment 2020-01-19 15:15:42 -05:00
nick black
a977b0de30
add 1.1.0 to the books 2020-01-19 15:04:42 -05:00
nick black
17a1ff3de3
require notcurses 1.1.0 for libnotcurses-sys-rs 2020-01-19 13:46:36 -05:00
nick black
ad5398ece3 debian: update symbols file for 1.1.0 2020-01-19 11:01:55 -05:00
nick black
1a4ca80616
debian: finalize 1.1.0 rust: update version to 1.1.0 2020-01-19 10:09:16 -05:00
nick black
6e92492117
docs, python: add notcurses_canchangecolor() 2020-01-19 06:16:09 -05:00
nick black
4ece4a9075
demo: skip demos which we don't have support for 2020-01-19 06:09:59 -05:00
nick black
b7bc693ef7
i'm WarMECH, bitch 2020-01-19 04:39:15 -05:00
nick black
dec2ab515e python: update palette256 API wrapper 2020-01-19 04:07:25 -05:00
nick black
ec5e857a6c
palette256: fix up unit tests 2020-01-19 04:04:13 -05:00
nick black
004f5ca1ea
Note copyright of Mark Ferrari for jungle demo 2020-01-19 02:31:08 -05:00
nick black
bee5be9d80
chunli: finalize out 2020-01-19 02:30:46 -05:00
nick black
19db2a5675
still more chunli 2020-01-19 00:50:38 -05:00
nick black
cffd08418a
more chun li 2020-01-19 00:04:57 -05:00
nick black
bb0cdb2b88
demo: add demo_nanosleep() for HUD 2020-01-18 21:38:02 -05:00
nick black
1e403123e1
s/notcurses_render/demo_render/g pass 2020-01-18 21:17:05 -05:00
nick black
6a2dae0279
box: punch it up a little 2020-01-18 20:58:05 -05:00
nick black
eb8ecb2433
jungle: center image, use demo_render() 2020-01-18 20:50:14 -05:00
Nick Black
3d612aebcb
ruins color cycling demo #253 (#287)
* palette_set: update pal256 damage map #230
* drone: use newest builders
* palette: send oc on exit for color reset #285
* palette_new: copy existing palette in #230
* Python: use checkRGB everywhere
* more palette unit testing
* add ncplane_set_*_palindex()
* render fg palindex #230
* palette index color is out of 1000
* jungle demo works #253
2020-01-18 20:42:29 -05:00
nick black
6b7b198dd5 typizzos 2020-01-18 16:34:18 -05:00
nick black
f7d1282924
Python: update fade/palette definitions 2020-01-18 16:24:59 -05:00
nick black
02698ebbd1
add jungle demo 2020-01-18 16:08:25 -05:00
nick black
064759179c
add FAQ about render% > 100 2020-01-18 16:06:57 -05:00
nick black
6434593afb
notcurses-demo.1: add copyrights 2020-01-18 16:06:39 -05:00
nick black
03e3c5406d
interrogate_term: check CCC if initc is defined 2020-01-18 16:06:24 -05:00
nick black
f450c1261a
libav: don't molest user pointer 2020-01-17 12:19:32 -05:00
nick black
c23b4196a2
notcurses-view: get status line back, urk 2020-01-17 12:19:25 -05:00
nick black
3e9347a339
palette color: unit test for alpha clear 2020-01-17 11:49:21 -05:00