Commit Graph

314 Commits (c2ea81f0abe0f3c8c87d39ea32d5dc20c745bea2)

Author SHA1 Message Date
nick black ee4c3d217b
widecolor: detect and inhibit wide spaces 5 years ago
nick black df93b67b4e
fix up subject of libav test 5 years ago
nick black 6248714cd0
widecolor: oh what fun 5 years ago
nick black 065f8170ef
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black cb5b0e2968
א guy #110 5 years ago
nick black bf12ea3c59
panelreel-demo: no general border 5 years ago
nick black 52f5bd1612
widecolors: allow all characters 5 years ago
nick black 638cc5903b
fix up usage message 5 years ago
nick black 541f9304df
widecolor-demo: move snake more quickly #110 5 years ago
nick black 6c5bd5d263
outro: fade background, but not foreground 5 years ago
nick black 3cda04e6ab
panelreel-demo: black background on border 5 years ago
nick black bacc69380a
uniblock: restore backgrounds 5 years ago
nick black 3c93030177
notcurses_*_default_prep() 5 years ago
nick black 56cad83a4b
widecolor-demo: improve background colors 5 years ago
nick black 774f8e5a23
summary: fix minima trackers 5 years ago
nick black 6e73e3b72f
widecolor-demo: friendly snake 🐍 #110 5 years ago
nick black 7e5e6bc545
slider-demo: force more squarish appearance 5 years ago
nick black af7ca02f36 Decode input escape sequences to special keys #78
Add the necessary input buffer, non-blocking reads, escape trie,
and unit tests to support extended keys, including arrow keys.
Update notcurses-input to print Unicode Control Glyphs instead of
a blank space for control chars.
5 years ago
nick black 37b0e416c0 get everything prepped for reliable keyboard escapes #78 5 years ago
Nick Black c0a1ee0f31
Spruce up slider demo, fix up uniblock demo #66 #72 (#112)
Slider demo: paint chunks in a pattern, then shuffle them up #72
Right-to-left unit tests #66
Fix up damage to uniblock demo using cup explicit cursor move #66
5 years ago
nick black f6b422f668
widecolor demo: bottom handle with stats 5 years ago
nick black c5db91e247
widecolor-demo: fix up summary box 5 years ago
nick black a55e02836b ncplane_box: accept ctlword (#42) 5 years ago
nick black c5ecc28ca1 remove resize check from demo core #105 5 years ago
nick black 82c5b96f92
remove obsolete assert from panelreels #91 5 years ago
nick black f0e81ea814
widecolors: make everything a bit more visible on small screens 5 years ago
Nick Black 8e8cb92c54
Improved cell API #97 (#103)
* cell/ncplane: simplify box API (#97)
* widecolor: use new box api (#97)
* uniblock: use new box API #97
* intro: use new box api #97
* panelreel: use new box api
* boxdemo: use new box API #97
* sliding: use new box API #97
* maxcolor: use new box api #97
* factor out notcurses_channel_prep() #97
* maxcolor: use new channel API #97
* sliding: use new channel API #97
* intro: use new channel API #97
* new output functions with no need for a cell
* add ncplane_putegc() and ncplane_putsimple(). the former takes an EGC, the latter a simple char less than 0x80. (#97)
* cell_prime: directly load all parts of a cell with immediates
* widecolor: use new output API #97
* boxdemo: properly initialize cells
* slider: total time cap of 5 * delaydemo
* maxcolor: use new output API #97
5 years ago
nick black e21594b4e9
ncplane_*_box_cells() -> cells_*_box() #97 5 years ago
nick black 35badf8ae7
panelreel: fix some NULL dereferences
ncurses getbegy() and friends, as it turns out, check for
a NULL input and return -1. we've been blindly passing
NULL in a few places on the ncurses side--with its own
problems--but that rapidly led to crashes here.
5 years ago
nick black c70bc7b2a4
slider-demo: work atop a background 5 years ago
nick black 415e238b3d transparent planes #10 5 years ago
nick black 2aadd096c0 lookin' good atl 5 years ago
nick black 738c590bfd
fix up outro 5 years ago
nick black be5ce9051d
outro 5 years ago
nick black 957af8151e view-demo: add video element 5 years ago
nick black 966239747c add ncplane_fadein() #40 5 years ago
nick black 4426ef0574 first go at ncplane_fadeout() #40 5 years ago
nick black 055f49b5fd sliding-demo: animate moves #72 5 years ago
nick black 570b42b78b sliders-demo: factor out move_square() #72 5 years ago
nick black 296663717c
uniblock: erase screen each time 5 years ago
nick black 19e1b3ac94
widecolor-demo: fix up right bar of handle 5 years ago
nick black 78e1a06661
view-demo: do both a jpeg and png test 5 years ago
Nick Black 8b0634527d
Correctly copy in shrink + SIGWINCH (#80) (#93)
* notcurses_resize(): properly set new lenx/leny #80
* ppoll() for SIGWINCH #80
* widecolor-demo: keystroke-driven
5 years ago
Nick Black 0b967ae528
More panelreels work #52 (#92)
* setup_signals: handle SIGSEGV with restore

* wresize(): fix keep parameter to ncplane_resize() #52

* ncplane_resize: set new lenx/leny on keep #80

* hrmrmm

* ncplane_resize(): fix numerous confusions

* panelreel-demo: don't allow us to go off the left edge

* panelreel: place tablets correctly #52

* panelreel: set background on focused element
5 years ago
Nick Black 426f632300
Panelreels port #52 (#90)
Port of panelreels, unit tests, and panelreel-demo from outcurses #52.
Doesn't completely work yet, but is surprisingly close!
5 years ago
nick black a9f54ed483 add viewdemo #86 5 years ago
nick black 684d9f66fe egcpool: fix corruption #59 5 years ago
nick black 3b5aee09a9 widechar-demo: spacing 5 years ago
nick black 8e96c2d78e ncplane backgrounds: render and use i nsliding-demo #69 5 years ago
Nick Black a7d50b557d
ncplane_at_cursor (#76), CCCflag, nonblocking stdin (#78) (#84)
* put stdin into nonblocking mode, retry on short write to stdout #78
* wrap getc_blocking() around a poll #78
* get CCCflag from terminfo. stop clearing the screen in render/startup
* implement ncplane_at_cursor() #76
* ncplane_at_cursor() unit test for simples #76
* PlaneAtCursorComplex unit test #76
* PlaneAtCursorInsane() unit test #76
* nplane_at_cursor: return number of bytes, not just 0/-1
* uniblock-demo: add a bunch of pages from Unicode 12
* demo: make -d delay multiplier a float
* egcpool: check offset against poolsize in check_validity()
* notcurses_init(): set smkx/rmkx to NULL with pass_through_esc
* PlaneAtCursorAttrs unit test #76
* add ncplane_styles() accessor
5 years ago
nick black 5e35e05151 render: don't send unnecessary color change sequences #47 5 years ago
nick black 6a5c21cacd demo: accept -f, open argument for renderfp 5 years ago
nick black e391bfbb81
input: add pass_through_esc option, otherwise run smkx #78 5 years ago
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
5 years ago
nick black 374403fdeb
sliding: color up pieces 5 years ago
nick black fe14403f9e
ncplane_double_box_cells(), used in sliding-demo #67 5 years ago
nick black ad183a6322
shuffle: color and label pieces #67 5 years ago
nick black a1c7bef894 sliding: draw into ncplanes #67 5 years ago
nick black 222c532c77 demo: introduce -d delay param, use everywhere 5 years ago
nick black c7cf4b1c9b sliding puzzle demo for planes #26 5 years ago
nick black f65d168d83 notcurses_render(): call term_setstyles() for sgr stuff #11 5 years ago
nick black 38ef2148bb widecolor: throw a box around summary 5 years ago
nick black 71a127463a
ncplane_create() 5 years ago
nick black cf557ff500 ncurses-view #61 5 years ago