Commit Graph

57 Commits

Author SHA1 Message Date
nick black
c76735cb2a
notcurses_getc(): read from stdin 2019-11-29 01:17:35 -05:00
nick black
a037cdfe5a
add new notcurses-input binary #8 2019-11-29 00:20:30 -05:00
Nick Black
7f9ac490b0
ncplane_resize(), slider demo (#64) (#74)
* sliding: bounding box around puzzle
* slider: make moves, deleting planes #61
* implement z-index move functions
* demo: allow demos to be chosen via command-line option
* allow default bg/fg to be explicitly chosen
* ncplane_resize() unit test #64
* useful links
* slider: use random colors
* use find_above() in ncplace_destroy()
* ncplane_resize() work #64
2019-11-28 22:08:26 -05:00
nick black
fe14403f9e
ncplane_double_box_cells(), used in sliding-demo #67 2019-11-28 16:27:15 -05:00
nick black
494ce69ebf export styles unshifted, fix test in cell_get_style() #11 2019-11-28 15:58:53 -05:00
nick black
f65d168d83 notcurses_render(): call term_setstyles() for sgr stuff #11 2019-11-28 15:58:53 -05:00
nick black
bc662e92bb notcurses_render(): add term_setstyle() #11 2019-11-28 15:58:53 -05:00
nick black
01beeb07b8 declare ncvisual_render() #61 2019-11-28 11:43:49 -05:00
nick black
d5cc65715e ncplane userptr routines + unit tests #26 2019-11-28 11:43:49 -05:00
nick black
9a41257669 libavutil/libswscale versions in intro 2019-11-27 18:32:46 -05:00
nick black
5dfb07183c libav: throw an swscaler in the mix #61 2019-11-27 18:32:46 -05:00
nick black
9ed5a8b6c7 decode AVPacket into AVFrame #61 2019-11-27 18:32:46 -05:00
nick black
4b2bf26ee2 ncvisual_destroy() implemented 2019-11-27 18:32:46 -05:00
nick black
2080e0bff3 unit tests for exercised egcpool #59 2019-11-27 18:32:46 -05:00
Nick Black
ba648dbd74
What a miserable evening tracking #57 (#60)
* widecolor-demo: don't emit spaces
* notcurses_init: newline before splash
* boxdemo: ncplane_erase() on entry #58
* uniblock-demo: print even wide chars #49
2019-11-27 10:43:03 -05:00
nick black
ee2e16736c
signal handlers for INT, QUIT, WINCH #27 2019-11-27 02:08:35 -05:00
nick black
f14ee490f2
CMake: visibility=hidden by default #56 2019-11-27 01:02:05 -05:00
nick black
ccb3c137b3 add ncplane_box_sized() and ncplane_rounded_box_cells() 2019-11-26 21:50:50 -05:00
nick black
80519c92fa libav: add LoadVideo unit test #35 2019-11-26 20:23:40 -05:00
nick black
f20e8fde4b add notcurses_image_open() #23 2019-11-26 20:23:40 -05:00
nick black
7aaa0fcce1
track wide char as reported by wcwidth(), add unit test #6 2019-11-26 07:14:44 -05:00
nick black
6b877f89a9
retain stdscr across a resize #28 2019-11-26 00:04:31 -05:00
nick black
f67a97edfb
correctly handle ASCII + combining chars, add unit tests #36 2019-11-25 21:11:27 -05:00
nick black
095d9035fb notcurses_options: provide retain_cursor bool #29 2019-11-25 13:40:43 -05:00
nick black
da607561e3 move ncplane management all together #26 2019-11-25 09:55:55 -05:00
nick black
979f6828ed
erase in grid demo 2019-11-24 22:00:35 -05:00
nick black
f5a0c1920b
EGC, not wchar_t 2019-11-24 21:43:53 -05:00
nick black
27e90d9204 cell: implement fg/bgdefault bits 2019-11-24 18:38:27 -05:00
nick black
9934c1d45d declare ncplane_box() #9 2019-11-24 18:38:27 -05:00
nick black
0ae550f5d1 declare cell_release() 2019-11-24 16:11:35 -05:00
Nick Black
b93bcebf0b
Extended grapheme clusters (#15)
Introduce egcpool for attached storage
Hook up style support
Switch entirely to UTF-8 char from wchar_t (#14)
Pull out next EGC in cell_load (#14)
2019-11-24 12:36:46 -05:00
nick black
0d10fdad79
spelling ugh 2019-11-23 21:34:35 -05:00
nick black
affb0c120b
kill duplicate decl and obsolete FIXME 2019-11-23 21:32:58 -05:00
nick black
13931aee60
implement ncplane_getc() #9 2019-11-23 20:45:53 -05:00
nick black
f9b88c5079
implement notcurses_palette_size() 2019-11-23 20:39:22 -05:00
nick black
a509cb6320
someone set us up the bomb 2019-11-23 19:24:29 -05:00
nick black
e4f041f522
start moving to utf-8 from wchar_t #14 2019-11-23 18:34:06 -05:00
nick black
7cb951ccc4
purge duplicate ncplane definitions 2019-11-23 12:53:55 -05:00
nick black
8856f67822
ncplane: background directcolor works 2019-11-23 12:39:54 -05:00
nick black
fd04c55d16
implement ncplane_putwstr #9 2019-11-23 12:28:42 -05:00
nick black
2f9821ce39
notcurses: interrogate terminfo for styles 2019-11-23 10:42:46 -05:00
Nick Black
7e92c8bb82
documentation and declarations (#13)
ncplane: flesh out API
ncplane: line and erase APIs
README.md: document differences from ncurses
notcurses_init(): print long term name
CMake: link librt into notcurses
cell: move functionality out to header
2019-11-23 09:05:32 -05:00
nick black
a8721df75a
ncplane: flesh out API 2019-11-22 22:47:12 -05:00
nick black
94c67af64d
notcurses_version: add to README 2019-11-21 11:03:02 -05:00
nick black
4fb5c9db71
readme touches 2019-11-21 11:00:40 -05:00
nick black
2dffc5ae1e
document basic use 2019-11-21 10:56:08 -05:00
nick black
b94e428277 ncplane: add ncplane_putwc() 2019-11-21 08:51:57 -05:00
nick black
d6aef3d2e6 notcurses_render: blit wchar_t arrays #5 2019-11-21 08:51:57 -05:00
nick black
691d3d97b8 some ncplane unit tests 2019-11-21 08:51:57 -05:00
nick black
a916c66052 introduce z-buffer of ncplanes 2019-11-21 08:51:57 -05:00