Commit Graph

1400 Commits

Author SHA1 Message Date
nick black
0c262a3a6d implement ncplane_erase() #9 2019-11-24 18:38:27 -05:00
nick black
8ff52f5ebc
laughable implementation of ncplane_vprintf #9 2019-11-24 16:19:24 -05:00
nick black
ca5c37fab9 widepanel: dump content 2019-11-24 16:11:35 -05:00
nick black
e5b426eb55 ncplane: don't putc/getc past plane 2019-11-24 16:11:35 -05:00
nick black
586142057f egcpool: don't split egc's across ringbuffer bounds 2019-11-24 16:11:35 -05:00
nick black
db842e5305 ncplane: leave cursor at lower right 2019-11-24 16:11:35 -05:00
nick black
1e65adb75a widecolor: adapt to new ncplane_putc() 2019-11-24 16:11:35 -05:00
nick black
ad321a9516 demo: adapt to new ncplane_putc() 2019-11-24 16:11:35 -05:00
nick black
2b8993a53d fix up cell_load() #17 2019-11-24 16:11:35 -05:00
nick black
32394dd892 egcpool: preserve incoming EGC on realloc 2019-11-24 16:11:35 -05:00
nick black
a997fb2dc0 reenable widecolor demo from outcurses 2019-11-24 16:11:35 -05:00
nick black
52e83dfcc2
Get UTF8 rendering properly #14 2019-11-24 14:00:48 -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
9c9f1f4462
demo: getopt(), allow inhibition of alternate screen with -k 2019-11-23 20:52:14 -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
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
f42c3bf0f1
ncurses_render: don't resend unchanged colors 2019-11-21 10:56:17 -05:00
nick black
05f99e16ef
term_fg_rgb8: properly form directrgb escape 2019-11-21 10:56:12 -05:00
nick black
f07652f24b don't try to destroy nullptr ncplane in tests 2019-11-21 08:51:57 -05:00
nick black
9a5d893ce7 demo: setlocale(), blit some characters like a boss 2019-11-21 08:51:57 -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
c8d11459ec notcurses_render: set colors naively #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
nick black
d3f9329737 notcurses_options: allow outfd to be specified 2019-11-21 08:51:57 -05:00
nick black
54ed3e108e introduce notcurses_options struct #3 2019-11-21 08:51:57 -05:00
nick black
787c27a812
demo: always reset the terminal on error 2019-11-19 06:44:28 -05:00
nick black
0f6e19dd92
notcurses_setrgb(): plug into direct mode when RGB flag is set 2019-11-19 06:26:44 -05:00
nick black
8fe936ca4c
ftairs! we have discovered ftairs! 2019-11-19 05:33:38 -05:00
nick black
908e9e120c
Don't require smcup/rmcup, and emit them only if supported #3 2019-11-18 12:16:26 -05:00
nick black
f88a26f55f
introduce notcurses_render() 2019-11-18 00:05:32 -05:00
nick black
4c01423289
allocate up the plane of cchars 2019-11-17 22:23:29 -05:00
nick black
17bc714c4d
define cell struct 2019-11-17 22:02:43 -05:00
nick black
ce42950314
check for RGB terminfo flag, check against colors 2019-11-17 16:12:00 -05:00
nick black
f88e211c26
disable ECHO and ICANON 2019-11-17 13:40:06 -05:00
nick black
abebd8d18e
preserve and restore termattr via termios 2019-11-17 13:36:57 -05:00
nick black
24da35a93b
load smcap/rmcap and emit them 2019-11-17 13:29:18 -05:00
nick black
b6ee41b355
link in tinfo, call setupterm() 2019-11-17 12:55:12 -05:00
nick black
4a406a8d8a
notcurses_init: stash away ttyfd 2019-11-17 10:36:58 -05:00
nick black
c1f4219dc1
notcurses_term_dimensions() + unit test 2019-11-17 10:25:40 -05:00
nick black
1fcae27627
just the basics 2019-11-17 09:53:59 -05:00
nick black
70df86ba17
version string, notcurses_version() 2019-11-17 05:04:41 -05:00