1119 Commits

Author SHA1 Message Date
nick black
c68db9963d
export ncplane_family_destroy() #2839 2025-01-13 23:04:11 -05:00
nick black
4d4942a9a4
notcurses.h: emphasize that octants are a superset of 2x1 2025-01-02 17:22:22 -05:00
Erik Schnetter
bf9c31db27 Correct mistakes, update default blitter choice 2024-12-24 19:39:43 -05:00
Erik Schnetter
e17c412736 Support Unicode 16 octants 2024-12-24 19:39:43 -05:00
nick black
20bed5ef16
notcurses.h: document region functions as not updating cursor position 2024-12-02 01:48:01 -05:00
nick black
a5c7d2262a qrcode: force 2x1 blitter
only the 2x1 blitter can generate the proper aspect ratio
needed for qrcodes, so force its use with
NCVISUAL_OPTION_NODEGRADE. see PR #2806.
2024-11-16 17:35:23 -05:00
nick black
6fb36a98ff
notcurses.h: add failure cases to nvisual_from_*() 2024-06-11 08:58:05 -04:00
nick black
4e4a75bc52 notcurses_metric: corrections, add note to BUGS 2024-06-05 10:11:56 -04:00
nick black
bc4dc23035
ncchannel_alpha(): return uint32_t (not an ABI change) 2024-04-09 23:31:36 -04:00
nick black
051a1b8bbd
[c++] Plane.hh: fix set_bg_rgb8() #2748 2024-01-31 00:19:58 -05:00
nick black
a2674d98ee
kill comment obsoleted by a66c1e95f80d184b87d212c9939a787f88dd36e3 2024-01-09 22:14:14 -05:00
Tobias Wood
d9cc551f5a
Fix a bitwise instead of logical warning 2024-01-09 22:13:11 -05:00
Dheepak Krishnamurthy
32eba71d31 Fix typo in notcurses.h 2023-04-11 17:56:25 -04:00
Michael Bradley, Jr
5d6f7abde9 use correct codepoints for NCCHESSWHITE 2023-04-04 13:15:31 -04:00
nick black
fd4b2d9db7
notcurses.h: remove duplicate definition of notcurses_stdplane{_const} #2710 2023-03-21 00:09:06 -04:00
Jeroen Domburg
b0f19f9f29 Do not be lazy, make amount of max text code points into a define 2023-01-22 22:56:27 -05:00
Jeroen Domburg
3512f9e812 Fix misunderstanding in Kitty kbd proto docs 2023-01-22 22:56:27 -05:00
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. 2023-01-22 22:56:27 -05:00
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.
2022-05-09 21:17:58 -04:00
joseLuís
c3ace47939 use const references in several fns; fix #2658 2022-04-30 18:58:28 +02:00
nick black
63a8573cef
clarify that flags is unused in selector/multiselect #2642 2022-04-10 07:39:37 -04:00
nick black
7c8cf1e6e8 [ncplane_put] admit tab characters #1233 2022-02-11 05:52:16 -05:00
nick black
25b94c021d more TaB unit tests #1233 2022-02-11 05:52:16 -05:00
Alex Samuel
d39f98dcd3 Fix conversion and sign-conversion warnings. 2022-02-09 09:37:44 -05:00
Alex Samuel
9d648e9457 Don't use ul masks for unsigneds. 2022-02-06 22:19:09 -05:00
nick black
66b9e5e70f
add ncchannels_{set_}?channels(), nccell_{set_}?channels() #2571 2022-01-23 21:45:40 -05:00
nick black
cb7e77eab2
document ncplane_set_[fb]channel 2022-01-23 21:24:07 -05:00
nick black
7c4c3040f4
restore nccell_set_[fb]channel #2571 2022-01-23 19:03:52 -05:00
nick black
64e3444b9f
make ncchannels_set_[fb]channel safe #2571 2022-01-23 18:55:47 -05:00
nick black
c996282e05
restore ncplane_set_[fb]channel #2571 2022-01-23 18:43:15 -05:00
nick black
beea4d62d8
restore nccell_[bf]channel using safe ncchannels_bchannel #2571 2022-01-23 18:19:23 -05:00
nick black
860d06384d
ncchannels_bchannel: operate only on alpha+coloring bits #2571 2022-01-23 18:15:53 -05:00
nick black
e33cb62de9
[ncplanes] remove ncplane_set_[bf]channel() #2571 2022-01-23 17:46:04 -05:00
nick black
6ccd425f5d
remove obsolete comment 2022-01-21 08:55:23 -05:00
nick black
60158a19cf
ncpalette_get: can't return -1 on uint32_t erp 2022-01-21 05:32:16 -05:00
nick black
72678835f2
[ncpalette] add ncpalette_get() for orthogonality #2565 2022-01-21 03:37:38 -05:00
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.
2022-01-12 00:53:17 -05:00
nick black
15e2c6eb12
[ncinput_equals] consider UNKNOWN == PRESS #2554 2022-01-12 00:37:11 -05:00
nick black
a7a47f8e0c
[kitty] add support for capslock, numlock, hyper, and super #2553 2022-01-11 23:22:05 -05:00
nick black
1f7f1a8e50
[kitty] handle hyper, capslock, numlock #2553 2022-01-11 22:52:39 -05:00
nick black
dc8c7d8826
[input] update ncinput_nomod_p() and future-proof it #2540 2022-01-10 01:11:00 -05:00
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.
2022-01-04 12:25:35 -05:00
nick black
635da75c3c [quantanal] recover control sequence with ncplane_at_yx() 2021-12-24 02:23:46 -05:00
KristofferC
ac94303a1f also nckeys 2021-12-23 09:51:29 -05:00
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
2021-12-23 09:51:29 -05:00
nick black
3d0fbc4d8f ncvisual_from_sixel() atop ncsixel_as_rgba() 2021-12-23 09:47:41 -05:00
nick black
bb91c170dd implement sixel_as_rgba() #1724 2021-12-23 09:47:41 -05:00
nick black
61000ce2a4 start sixelanalyzer binary #1724 2021-12-23 09:47:41 -05:00
nick black
3190419774 start on libncsixel #2383 2021-12-23 09:47:41 -05:00
nick black
2c956e60d2 sixel.h 2021-12-23 09:47:41 -05:00