Commit Graph

1111 Commits (master)

Author SHA1 Message Date
nick black bc4dc23035
ncchannel_alpha(): return uint32_t (not an ABI change) 1 month ago
nick black 051a1b8bbd
[c++] Plane.hh: fix set_bg_rgb8() #2748 4 months ago
nick black a2674d98ee
kill comment obsoleted by a66c1e95f8 4 months ago
Tobias Wood d9cc551f5a
Fix a bitwise instead of logical warning 4 months ago
Dheepak Krishnamurthy 32eba71d31 Fix typo in `notcurses.h` 1 year ago
Michael Bradley, Jr 5d6f7abde9 use correct codepoints for NCCHESSWHITE 1 year ago
nick black fd4b2d9db7
notcurses.h: remove duplicate definition of notcurses_stdplane{_const} #2710 1 year ago
Jeroen Domburg b0f19f9f29 Do not be lazy, make amount of max text code points into a define 1 year ago
Jeroen Domburg 3512f9e812 Fix misunderstanding in Kitty kbd proto docs 1 year 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. 1 year 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 2 years ago
nick black 7c8cf1e6e8 [ncplane_put] admit tab characters #1233 2 years ago
nick black 25b94c021d more TaB unit tests #1233 2 years ago
Alex Samuel d39f98dcd3 Fix conversion and sign-conversion warnings. 2 years ago
Alex Samuel 9d648e9457 Don't use ul masks for unsigneds. 2 years ago
nick black 66b9e5e70f
add ncchannels_{set_}?channels(), nccell_{set_}?channels() #2571 2 years ago
nick black cb7e77eab2
document ncplane_set_[fb]channel 2 years ago
nick black 7c4c3040f4
restore nccell_set_[fb]channel #2571 2 years ago
nick black 64e3444b9f
make ncchannels_set_[fb]channel safe #2571 2 years ago
nick black c996282e05
restore ncplane_set_[fb]channel #2571 2 years ago
nick black beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571 2 years ago
nick black 860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571 2 years ago
nick black e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571 2 years ago
nick black 6ccd425f5d
remove obsolete comment 2 years ago
nick black 60158a19cf
ncpalette_get: can't return -1 on uint32_t erp 2 years ago
nick black 72678835f2
[ncpalette] add ncpalette_get() for orthogonality #2565 2 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.
2 years ago
nick black 15e2c6eb12
[ncinput_equals] consider UNKNOWN == PRESS #2554 2 years ago
nick black a7a47f8e0c
[kitty] add support for capslock, numlock, hyper, and super #2553 2 years ago
nick black 1f7f1a8e50
[kitty] handle hyper, capslock, numlock #2553 2 years ago
nick black dc8c7d8826
[input] update ncinput_nomod_p() and future-proof it #2540 2 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.
2 years ago
nick black 635da75c3c [quantanal] recover control sequence with ncplane_at_yx() 2 years ago
KristofferC ac94303a1f also nckeys 2 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
2 years ago
nick black 3d0fbc4d8f ncvisual_from_sixel() atop ncsixel_as_rgba() 2 years ago
nick black bb91c170dd implement sixel_as_rgba() #1724 2 years ago
nick black 61000ce2a4 start sixelanalyzer binary #1724 2 years ago
nick black 3190419774 start on libncsixel #2383 2 years ago
nick black 2c956e60d2 sixel.h 2 years ago
nick black e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 2 years ago
nick black 11b25bff07 [ncls] no scaling unless necessary or specified #2008 2 years ago
KristofferC d8c68b4f48 add required headers for nckeys.h 2 years ago
nick black 01d7f1e05d
nccell_set_bg_palindex: s/int/unsigned/g 2 years ago
nick black 2f00fadfdd eliminate some signedness changes in notcurses.h 2 years ago
nick black 42e2bf6da7
[nccells_load_box] stylemask ought be only 16 bits 2 years ago
nick black 041a083a0f add ncplane_cursor_y()/ncplane_cursor_x() 2 years ago
nick black 9c3adaaea3
add ncchannel_rgb(), use it in channels_blend() 2 years ago