Commit Graph

1087 Commits

Author SHA1 Message Date
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
nick black
67eaa64557
mandoc syntax 2021-12-09 14:27:59 -05:00
nick black
546355a871
notcurses_cursor_yx ought be const 2021-12-09 14:24:12 -05:00
nick black
7f0b05b017 [ncseqs] add card suits, dice, musical symbols 2021-12-08 01:09:15 -05:00
nick black
de3cd3c644 [notcurses-info] add chess pieces 2021-12-08 01:09:15 -05:00
nick black
977a4ed966 introduce NCPLANE_OPTIONS_{VSCROLL, AUTOGROW} #2440 2021-12-08 01:09:15 -05:00
nick black
b7785d1272 declare ncplane_growtext() 2021-12-08 01:09:15 -05:00
nick black
4b393e2c5f [notcurses.h] move utility functions to the bottom 2021-12-06 17:28:53 -05:00
nick black
91111cdb58
[ncchannels_reverse] don't generate illegal alpha+color states #2421 2021-12-04 06:27:38 -05:00
nick black
0b66a49d57
add some comments to various channel functions 2021-12-04 03:56:34 -05:00
nick black
2fc933521b
move notcurses_ucs32_to_utf8 up in the header file 2021-12-04 03:24:20 -05:00
nick black
caaeec5094
Place ncneofetch properly (#2415)
* ncplane_polyfill_inner: plug memory leak on error paths
* [progbar_create] memory leak on error path
* ncvisual_polyfill_core: memory leaks on error paths
* notcurses_early_init: memory leak on error path
* [demo] fix summary table for ASCII #2402
* [sliders] make it work in ASCII #2402
* add ncplane_ascii_box() #2402
* [notcurses-info] use capabilities accessors for blitters
2021-12-02 01:45:49 -05:00