1098 Commits

Author SHA1 Message Date
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
nick black
e0c5cf5838
NCOPTION_SCROLLING, alias NCOPTION_CLI_MODE 2021-12-23 07:54:37 -05:00
nick black
11b25bff07 [ncls] no scaling unless necessary or specified #2008 2021-12-23 02:31:55 -05:00
KristofferC
d8c68b4f48 add required headers for nckeys.h 2021-12-20 11:06:12 -05:00
nick black
01d7f1e05d
nccell_set_bg_palindex: s/int/unsigned/g 2021-12-19 07:37:17 -05:00
nick black
2f00fadfdd eliminate some signedness changes in notcurses.h 2021-12-19 07:26:44 -05:00
nick black
42e2bf6da7
[nccells_load_box] stylemask ought be only 16 bits 2021-12-19 06:37:33 -05:00
nick black
041a083a0f add ncplane_cursor_y()/ncplane_cursor_x() 2021-12-18 15:41:37 -05:00
nick black
9c3adaaea3
add ncchannel_rgb(), use it in channels_blend() 2021-12-17 03:17:56 -05:00
nick black
acffa61557 [include] add nonnull attributes to a few functions 2021-12-16 02:56:37 -05:00
nick black
e49394a702
[output] partial print on right-aligned overflow text #2472 2021-12-15 01:07:08 -05:00
nick black
9fda62030d
[include] use parens around macro arguments, erp! 2021-12-14 18:24:36 -05:00
KristofferC
a3c37932d6 check __MINGW32__ instead of __MINGW64__ 2021-12-13 11:57:55 -05:00
nick black
454c830237 [nctree] implement nctree_del() #2458 2021-12-12 07:23:27 -05:00
nick black
1b2e58124c declate nctree_add() and nctree_del() #2458 2021-12-12 07:23:27 -05:00
nick black
1a6f4936bc
add ISOL3SHIFT/ISOL5SHIFT key definitions #2439 2021-12-11 19:05:23 -05:00
nick black
4d727e5a59
handle KP_Seperator #2452 2021-12-11 18:50:19 -05:00
nick black
9555dbf3eb _Static_assert() wants a string 2021-12-10 02:38:17 -05:00
nick black
ba1c79b66e add nccell_load_ucs32 2021-12-10 02:38:17 -05:00
nick black
ba1fbbee90
don't expose kitty-style bg transparency to user #2432 2021-12-09 17:07:38 -05:00
nick black
4c17970ba0
detect and expose default foreground color #2432 2021-12-09 16:08:43 -05:00
nick black
6e42d5c52e
add notcurses_default_background() #2432 2021-12-09 15:38:32 -05:00