Jeroen Domburg
b0f19f9f29
Do not be lazy, make amount of max text code points into a define
2 years ago
Jeroen Domburg
3512f9e812
Fix misunderstanding in Kitty kbd proto docs
2 years ago
Jeroen Domburg
d8cb625b9a
Add 'effective utf8' field to ncinput struct. This field will contain the utf8 emitted by a key with all modifiers taken into account.
2 years ago
nick black
2316c7e646
deconstify functions which write to pool
...
several functions appear to have recently been marked
as accepting a const ncplane, despite potentially writing
into that plane's egcpool. in such cases, the ncplane
argument cannot be marked constant, as indicated by
compiler warnings. all have been rectified.
2 years ago
joseLuís
c3ace47939
use const references in several fns; fix #2658
2 years ago
nick black
63a8573cef
clarify that flags is unused in selector/multiselect #2642
3 years ago
nick black
7c8cf1e6e8
[ncplane_put] admit tab characters #1233
3 years ago
nick black
25b94c021d
more TaB unit tests #1233
3 years ago
Alex Samuel
d39f98dcd3
Fix conversion and sign-conversion warnings.
3 years ago
Alex Samuel
9d648e9457
Don't use ul masks for unsigneds.
3 years ago
nick black
66b9e5e70f
add ncchannels_{set_}?channels(), nccell_{set_}?channels() #2571
3 years ago
nick black
cb7e77eab2
document ncplane_set_[fb]channel
3 years ago
nick black
7c4c3040f4
restore nccell_set_[fb]channel #2571
3 years ago
nick black
64e3444b9f
make ncchannels_set_[fb]channel safe #2571
3 years ago
nick black
c996282e05
restore ncplane_set_[fb]channel #2571
3 years ago
nick black
beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571
3 years ago
nick black
860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571
3 years ago
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571
3 years ago
nick black
6ccd425f5d
remove obsolete comment
3 years ago
nick black
60158a19cf
ncpalette_get: can't return -1 on uint32_t erp
3 years ago
nick black
72678835f2
[ncpalette] add ncpalette_get() for orthogonality #2565
3 years ago
nick black
7e46e5fbe4
some subtle input changes
...
When CapsLock is detected, and we're working with
ASCII input, capitalize it, just as we do with
Shift or Ctrl. Don't consider CapsLock or NumLock
for ncinput_equals_p(). Closes #2555 .
3 years ago
nick black
15e2c6eb12
[ncinput_equals] consider UNKNOWN == PRESS #2554
3 years ago
nick black
a7a47f8e0c
[kitty] add support for capslock, numlock, hyper, and super #2553
3 years ago
nick black
1f7f1a8e50
[kitty] handle hyper, capslock, numlock #2553
3 years ago
nick black
dc8c7d8826
[input] update ncinput_nomod_p() and future-proof it #2540
3 years ago
nick black
4b49cb4592
add meta modifier handling #2522
...
Handle Meta modifier in Kitty and XTMODKEYS. Add Meta
indicator to notcurses-input. Update man page. Add
NCKEY_META_{SHIFT, CTRL, ALT, META} constants. Add
"modifiers" field to ncinput struct. Add inline
functions for testing modifiers. Remove special-casing
in Kitty protocol that capitalized all lowercase ASCII
when ctrl was pressed; we don't do this for XTMODKEYS.
3 years ago
nick black
635da75c3c
[quantanal] recover control sequence with ncplane_at_yx()
3 years ago
KristofferC
ac94303a1f
also nckeys
3 years ago
KristofferC
81d36891da
make a shared lib with the static inline functions
...
This is to be used for wrappers of notcurses that do not otherwise
have an easy way of getting access to the definitions of the `static
inline` functions
3 years ago
nick black
3d0fbc4d8f
ncvisual_from_sixel() atop ncsixel_as_rgba()
3 years ago
nick black
bb91c170dd
implement sixel_as_rgba() #1724
3 years ago
nick black
61000ce2a4
start sixelanalyzer binary #1724
3 years ago
nick black
3190419774
start on libncsixel #2383
3 years ago
nick black
2c956e60d2
sixel.h
3 years ago
nick black
e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE
3 years ago
nick black
11b25bff07
[ncls] no scaling unless necessary or specified #2008
3 years ago
KristofferC
d8c68b4f48
add required headers for nckeys.h
3 years ago
nick black
01d7f1e05d
nccell_set_bg_palindex: s/int/unsigned/g
3 years ago
nick black
2f00fadfdd
eliminate some signedness changes in notcurses.h
3 years ago
nick black
42e2bf6da7
[nccells_load_box] stylemask ought be only 16 bits
3 years ago
nick black
041a083a0f
add ncplane_cursor_y()/ncplane_cursor_x()
3 years ago
nick black
9c3adaaea3
add ncchannel_rgb(), use it in channels_blend()
3 years ago
nick black
acffa61557
[include] add nonnull attributes to a few functions
3 years ago
nick black
e49394a702
[output] partial print on right-aligned overflow text #2472
3 years ago
nick black
9fda62030d
[include] use parens around macro arguments, erp!
3 years ago
KristofferC
a3c37932d6
check __MINGW32__ instead of __MINGW64__
3 years ago
nick black
454c830237
[nctree] implement nctree_del() #2458
3 years ago
nick black
1b2e58124c
declate nctree_add() and nctree_del() #2458
3 years ago
nick black
1a6f4936bc
add ISOL3SHIFT/ISOL5SHIFT key definitions #2439
3 years ago