Commit Graph

6852 Commits

Author SHA1 Message Date
nick black
0c16296b96
[input] walk specials automaton 2021-09-14 20:17:52 -04:00
nick black
fd5708a7cd
unicode 14.0! 2021-09-14 20:00:41 -04:00
nick black
8f900754d5
[input] synthesize SIGINT/SIGQUIT 2021-09-14 19:32:41 -04:00
nick black
c31f20b602
[input] remap 0x7f to NCKEY_BACKSPACE 2021-09-14 19:23:08 -04:00
nick black
c3545a4b40
process_ncinput: fix ictx->isize check 2021-09-14 19:15:30 -04:00
nick black
37cb5adb87
[input] add constant specials to trie 2021-09-14 09:36:19 -04:00
nick black
315edacf08
[input] handle unicode-encoded mouse events 2021-09-14 08:33:18 -04:00
nick black
22f421657d
fix up windows block_on_input() 2021-09-14 06:22:35 -04:00
nick black
9e9a949f0f
[direct] move to new cursor location reports 2021-09-14 06:13:54 -04:00
nick black
ede5190fb8
redeclare ncdirect_getc() 2021-09-14 05:55:11 -04:00
nick black
6f0ddd8c15
[input] handle multibyte utf8 2021-09-14 05:43:21 -04:00
nick black
1fe5cc9555
[input] build kitty protocol into new input automaton 2021-09-14 05:29:50 -04:00
nick black
7159913530
[input] kill unnecessary state CURSOR_OR_PIXELGEOM 2021-09-14 04:26:27 -04:00
nick black
0dd41f0e79
[input] hand ncinputs back to calling client 2021-09-14 04:15:20 -04:00
nick black
5f00466b38
protect initdata, notcurses_getvec() 2021-09-14 03:50:19 -04:00
nick black
1630a1629f
merge that shit 2021-09-14 03:41:46 -04:00
nick black
3cf5a67b84
input thread #2136 2021-09-14 03:34:53 -04:00
nick black
55c7cc356d
[resize] carefully copy over reuseable parts of lastframe #2165 2021-09-14 03:18:35 -04:00
nick black
39025dd053
eliminate kitty graphics one-off enum type 2021-09-14 00:29:54 -04:00
nick black
528a7db19a
erP 2021-09-13 18:30:45 -04:00
nick black
ca06d891fb
[rust] s/cell/nccell/ from ffi 2021-09-13 15:38:09 -04:00
nick black
2fbdb50d71
remove deprecated static inlines 2021-09-13 15:34:19 -04:00
nick black
20edd5a3cd
purge deprecated cell typedef 2021-09-13 15:30:47 -04:00
nick black
0213e026b2 allow users to set the stdplane's resizecb
Hardcode a call to ncplane_resize_maximize() in
notcurses_resize_internal() for the standard plane,
when handling the standard pile. allow the user
to set the standard plane's resize callback beyond
that. closes #2163.
2021-09-13 13:04:38 -04:00
joseLuís
123c0d6307 [rust] fix check_pixel_support; #2162
- add new type `NcPixelImpl`.
- change `check_pixel_support` return type to `NcPixelImpl`.
- update `pixel-cell` example.
- remove remaining reference to removed `blink`.
- remove reference to removed `ncvisual_default_blitter`.
- rustfmt
2021-09-13 11:45:43 +02:00
nick black
be1dc5f2f9
mention CLI mode following ncoptions 2021-09-13 04:11:15 -04:00
nick black
76b1ea9842
[kitty] fix 1st gen animation
Much as we needed to do in the accounting core for
kitty animation, whether we blitted a sprixcell of
alpha nulls or instead wiped it affects how we
rebuild under KITTY_ANIMATION, which right now is
all Kitty >= 0.20.0 since KITTY_SELFREF is disabled.
This gets KITTY_ANIMATION working perfectly on
bitmapstates. I've accomplished this by stashing a
bool onto the end of each KITTY_ANIMATION-style
auxvector, set high if it originated in a reblit's
null alphas, and low if it was zorched by a wipe.
Set {c, r} arguments to animation directive based
on whether this is set. See #2161.
2021-09-13 03:05:08 -04:00
nick black
972b14c09b
[rust] remove NCSTYLE_BLINK 2021-09-13 02:05:11 -04:00
nick black
4789aca20f
notcurses.h: remove some more deprecated static inlines 2021-09-13 01:38:30 -04:00
nick black
e14a320217
notcurses.h: remove some deprecated #defines 2021-09-13 01:34:58 -04:00
nick black
f9df8e14fc
v2.4.1 2021-09-12 22:14:19 -04:00
nick black
772f429fb2
mention ncstrwidth_valid() in NEWS 2021-09-12 22:04:07 -04:00
nick black
4e1897c1c0
[kitty] KITTY_ANIMATED rebuild fix #2161 2021-09-12 21:25:10 -04:00
Tinmarino
a48147da8c Rust: compile: relint last commit 2021-09-12 21:01:38 -04:00
Tinmarino
8abf993f62 Rust: improve compile: remove warning: "trailing semicolon in macro used in expression position" 2021-09-12 21:01:38 -04:00
Tinmarino
8ed451e4ee Rust: Fix compile expected u32, found i32 2021-09-12 21:01:38 -04:00
nick black
c286c01d16
Merge branch 'dankamongmen/input-thread' of github.com:dankamongmen/notcurses into dankamongmen/input-thread 2021-09-12 03:25:09 -04:00
nick black
79610b2efa
more work on input thread 2021-09-12 03:12:07 -04:00
nick black
e54661f425
initialize and shutdown the new input layer from termdesc.c 2021-09-12 03:12:06 -04:00
nick black
b65f7b5e10
[input] tear down thread 2021-09-12 03:12:06 -04:00
nick black
613b2f9d31
extract cancel_and_join() helper 2021-09-12 03:12:06 -04:00
nick black
ff6066ba33
space_for_read(), read_input_nblock() 2021-09-12 03:12:06 -04:00
nick black
b6e5a815a3
[inputthread] scaffolding 2021-09-12 03:12:06 -04:00
nick black
eb70aeed90
start in on input thread 2021-09-12 03:12:06 -04:00
nick black
4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 2021-09-12 02:17:29 -04:00
nick black
6612d1b149
[kitty] disable KITTY_SELFREF for now #2161 2021-09-12 01:58:29 -04:00
nick black
bd6d0e28fb
[kitty] unite kitty_wipe_animation and kitty_wipe_selfref #2161 2021-09-12 01:58:13 -04:00
nick black
9cc04ea259
[demo] use DETECTMAXONLY for fps graph #2152 2021-09-12 00:09:11 -04:00
nick black
9ec41fe123
[plots] fix NCPLOT_OPTION_DETECTMAXONLY #2152 2021-09-12 00:08:09 -04:00
nick black
88f40df4ae
[plots] print current sample as summary #2152 2021-09-11 23:28:50 -04:00