Commit Graph

553 Commits (a14ec34d789a79e32a1ce05f38a7379fb2988ccd)
 

Author SHA1 Message Date
nick black a14ec34d78
intro: blink warning if screen is small 5 years ago
nick black 4e0ebde876
intro: advertise 'q' demo: print full matrix 5 years ago
nick black 9e9e5ef648
demoinput: process 'q' at all times 5 years ago
nick black 1017bf42e0
panelreeldemo: stop advertising 'q' 5 years ago
nick black 17a55261dc
witherworms: allow them more space 5 years ago
nick black 86efad6f67
griddemo: clip rgb values, kill white line on side 5 years ago
nick black efcfa372ae
ULTRAMEGAOK: toplevel event handler #207
enable mouse events in the demo. spawn a thread from main() which
brokers all input events. it will consume mouse events, and
publish keyboard events to a queue. rewrite all demo notcurses_getc()
calls to demo_getc() equivalents.
5 years ago
nick black 368da5bd81
update output API documentation #210 #209 5 years ago
nick black 219b8c65ea
Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black 452e1d302e
output API enhancements #210 #209
Allow -1 in move specification to remain where we are on that
axis (#210), necessary for context-sensitive aligned output.
Add _aligned forms to printf and vprintf. Invert various output
functions so that simpler form is static inline wrapper around
more complicated form, rather than complicated form being a
static inline composition, facilitating atomic move+output. All
output forms now have a simple form (no alignment, placement at
cursor), an _aligned() form, and a _yx() form.
5 years ago
nick black 30a3cc0a4e Merge branch 'master' of github.com:dankamongmen/notcurses 5 years ago
nick black 0b8eb20811 ncvisual_render: direct cell_load into framebuffer
Saves about 10% of wall clock time on 'eagle', nice.
5 years ago
nick black 1d9bf7bb59
update unit tests for ../data move 5 years ago
nick black 6156fa72b0
build/run documentation 5 years ago
nick black 1de8611e2f
move test data to data/, simplify install rule 5 years ago
nick black 7dd875a230 sync documentation to new input code #165 5 years ago
nick black f742676aee Mouse support using button event tracking #165
Request and parse up mouse messages. We handle up to 11 mouse
buttons, 3 modifiers (currently thrown away), motion while
holding down a button, and loss/gain of focus. I've added twelve
new NCKEYs: one for each button, and one for release. In addition,
I've introduced the 'ncinput' struct, which encodes the nckey plus
extra data. The only extra data thus far is coordinates for mouse
events. It is not necessary to provide a ncinput to all input
functions; NULL can be provided if the caller doesn't care about
details. All demos are updated. notcurses-input has been updated
to decode full information of returned ncinputs.

The primary resource for this work was Dickey at al's "XTerm Control
Sequences", https://invisible-island.net/xterm/ctlseqs/ctlseqs.html.
5 years ago
nick black aceda89261 input: add NCKEY_MOUSEEVENT, match against CSI prefix #165 5 years ago
nick black b4b4b3684a yaml 5 years ago
nick black 1bc2bcf31e multiple pipelines 5 years ago
Marek Habersack c819063d80 Install *.avi test files too 5 years ago
nick black 1555edfa6c
notcurses: disable mouse events on startup/shutdown 5 years ago
nick black fc17a104b4
notcurses_options: clear screen on start 5 years ago
nick black 78633de427
mouse: use SGR extended coordinates 5 years ago
nick black ae52d04435
notcurses-input: dim previous lines 5 years ago
nick black ab47ab8976
notcurses_mouse_on()/_off() #165 5 years ago
nick black 046d0314b9
add links to useful man pages 5 years ago
nick black fe7b6bbf89
Samoa, tula'i ma sisi ia lau fu'a, lou pale lea! 5 years ago
nick black f9e18fa1ee
witherworms breed, paint xray banner 5 years ago
nick black 2a256192ad
input: allow duplications of escapes #199 5 years ago
nick black 2aeb303e94
samoa, mother samoa, tula'i ma sisi ia lau fu'a, lou pale lea! 5 years ago
nick black 6b6a00c013
luigi: jump off the right side of the screen 5 years ago
nick black 605293c103
deretardize the witherworms 5 years ago
nick black 708159c686
x-ray demo 5 years ago
nick black eac9d7fe26 jfc 5 years ago
Nick Black 4278a53523
Dankamongmen/no prisoners damage (#198)
* notcurses: set up lastframe #189
* render: o(1) take no prisoners damage detection
* EAAAAAAAAAAGLES
* slight background on intro
* 0.9.2
5 years ago
Nick Black 9b81de3789
O(1) passive damage detection #189 (#197)
* notcurses: set up lastframe #189
* render: o(1) take no prisoners damage detection #189
5 years ago
nick black 8b1b2ebdf0
term_esc_rgb: add note about ITU T.416 syntax 5 years ago
nick black d50ee9ec50
ncplane_erase() at the beginning of viewdemo #194 5 years ago
nick black c3fa7ea664
bleachworm replaces widechomper #177 5 years ago
nick black dbb74ea8c4
add wiki link 5 years ago
nick black a710222df1
enmetric(): support localized decimal separator #192 5 years ago
nick black a3923142f6
fix up bgalpha unit tests 5 years ago
Nick Black 3ad2124246
Partial visual renders #170 (#193)
* ncvisual_render() accept four bounding dims #175
* ncvisual_render(): partial renders #175
5 years ago
nick black 84aefd65e8 debian: correct installation path for man1 pages 5 years ago
nick black 7e9378cd01
v0.9.1 5 years ago
nick black 7f01dfc241
planereel-tester: delete support 5 years ago
nick black eaf510676d
planereel-tester: randomly-sized tablets #180 5 years ago
Nick Black 0e0925a84e
Planereel exploration app, panelreel logic fixes (#188)
* planereels tester #180
* suppress_banner in all tests
* tabletcb: start passing back tablet
* properly initialize fbbytes stat
* panelreel: logic fixes #178
* install all testing data
5 years ago
nick black b0b1679de6
ncvisual_render(): use true transparency #186 5 years ago