Commit Graph

990 Commits

Author SHA1 Message Date
nick black
6156fa72b0
build/run documentation 2019-12-23 19:16:57 -05:00
nick black
1de8611e2f
move test data to data/, simplify install rule 2019-12-23 19:16:49 -05:00
nick black
7dd875a230 sync documentation to new input code #165 2019-12-23 19:08:12 -05:00
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.
2019-12-23 19:08:12 -05:00
nick black
aceda89261 input: add NCKEY_MOUSEEVENT, match against CSI prefix #165 2019-12-23 19:08:12 -05:00
nick black
b4b4b3684a yaml 2019-12-23 19:08:12 -05:00
nick black
1bc2bcf31e multiple pipelines 2019-12-23 19:08:12 -05:00
Marek Habersack
c819063d80 Install *.avi test files too 2019-12-23 19:07:50 -05:00
nick black
1555edfa6c
notcurses: disable mouse events on startup/shutdown 2019-12-23 03:38:38 -05:00
nick black
fc17a104b4
notcurses_options: clear screen on start 2019-12-23 03:36:37 -05:00
nick black
78633de427
mouse: use SGR extended coordinates 2019-12-23 03:36:29 -05:00
nick black
ae52d04435
notcurses-input: dim previous lines 2019-12-23 03:36:13 -05:00
nick black
ab47ab8976
notcurses_mouse_on()/_off() #165 2019-12-23 02:47:34 -05:00
nick black
046d0314b9
add links to useful man pages 2019-12-22 22:45:20 -05:00
nick black
fe7b6bbf89
Samoa, tula'i ma sisi ia lau fu'a, lou pale lea! 2019-12-22 16:59:16 -05:00
nick black
f9e18fa1ee
witherworms breed, paint xray banner 2019-12-22 15:58:05 -05:00
nick black
2a256192ad
input: allow duplications of escapes #199 2019-12-22 15:57:41 -05:00
nick black
2aeb303e94
samoa, mother samoa, tula'i ma sisi ia lau fu'a, lou pale lea! 2019-12-22 12:54:37 -05:00
nick black
6b6a00c013
luigi: jump off the right side of the screen 2019-12-22 12:41:44 -05:00
nick black
605293c103
deretardize the witherworms 2019-12-22 12:32:28 -05:00
nick black
708159c686
x-ray demo 2019-12-22 12:27:35 -05:00
nick black
eac9d7fe26 jfc 2019-12-22 09:32:42 -05:00
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
2019-12-22 09:29:56 -05:00
Nick Black
9b81de3789
O(1) passive damage detection #189 (#197)
* notcurses: set up lastframe #189
* render: o(1) take no prisoners damage detection #189
2019-12-22 08:08:53 -05:00
nick black
8b1b2ebdf0
term_esc_rgb: add note about ITU T.416 syntax 2019-12-22 02:02:12 -05:00
nick black
d50ee9ec50
ncplane_erase() at the beginning of viewdemo #194 2019-12-22 01:18:49 -05:00
nick black
c3fa7ea664
bleachworm replaces widechomper #177 2019-12-22 00:27:43 -05:00
nick black
dbb74ea8c4
add wiki link 2019-12-21 23:31:57 -05:00
nick black
a710222df1
enmetric(): support localized decimal separator #192 2019-12-21 20:44:34 -05:00
nick black
a3923142f6
fix up bgalpha unit tests 2019-12-21 16:08:24 -05:00
Nick Black
3ad2124246
Partial visual renders #170 (#193)
* ncvisual_render() accept four bounding dims #175
* ncvisual_render(): partial renders #175
2019-12-21 16:02:27 -05:00
nick black
84aefd65e8 debian: correct installation path for man1 pages 2019-12-21 11:34:52 -05:00
nick black
7e9378cd01
v0.9.1 2019-12-21 03:55:29 -05:00
nick black
7f01dfc241
planereel-tester: delete support 2019-12-20 22:23:33 -05:00
nick black
eaf510676d
planereel-tester: randomly-sized tablets #180 2019-12-20 22:11:10 -05:00
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
2019-12-20 20:38:13 -05:00
nick black
b0b1679de6
ncvisual_render(): use true transparency #186 2019-12-20 12:54:29 -05:00
nick black
e628030740
ncvisual_render(): use true transparency #186 2019-12-20 12:54:22 -05:00
nick black
5403642764
notcurses-input: throw up a banner 2019-12-20 12:36:59 -05:00
nick black
1ebe02cf93
libav: disable stderr logging #174 2019-12-20 12:06:11 -05:00
nick black
0e6c921b28
we break 1k fps in kitty :) 2019-12-20 11:06:19 -05:00
nick black
898806fec1
demo: minimum field width on FPS 2019-12-20 11:03:41 -05:00
nick black
3f326ee0a8 fix up ncplane_set_{bf}g 2019-12-20 09:42:41 -05:00
nick black
21a8e661be
convert all demos to find_data() 2019-12-20 07:36:38 -05:00
nick black
660949a461
griddemo: fix wonky right line 2019-12-20 07:35:29 -05:00
nick black
6a9d6fa122
add ncplane_printf_yx() 2019-12-20 04:12:30 -05:00
nick black
4950a5ac1a
print enmetricized byte totals 2019-12-20 03:42:00 -05:00
nick black
792b1f2cfb
notcurses-demo: accept -p to find data files #160 2019-12-20 01:32:14 -05:00
nick black
db89e71595
track each part of demo #164 2019-12-20 01:10:28 -05:00
nick black
5bec85746d
allow banners to be suppressed 2019-12-20 00:34:21 -05:00