Commit Graph

947 Commits

Author SHA1 Message Date
nick black
436f24c770
Remove libreadline support, implement low-level ncdirect_readline #2211 (#2212)
It was realized that our libreadline wrapper was incompatible with the new input method, indeed fundamentally so. Rip out all libreadline support. Implement a minimal ncdirect_readline() -- quite minimal, but enough to get by. We'll want to fill this out later.

So no ABI/API breakage, though perhaps some visible behavioral change.
2021-09-28 01:37:44 -04:00
initramfs
671656ea80 fix ncpp throwing heap allocated exceptions 2021-09-27 17:34:22 -04:00
joseLuís
fb003c4eef fix doc-comment on ncplane_erase_region
and another minor typo
2021-09-24 20:01:20 +02:00
joseLuís
ff9497ea3d add doc-comment for ncplane_center_abs 2021-09-24 14:45:49 +02:00
joseLuís
2141338e4c revert stylemask return types #2200 2021-09-23 19:32:36 +02:00
joseLuís
1811e3b0ef fix stylemask return types #2200 2021-09-23 16:01:25 +02:00
joseLuís
d55a44ef4b make ncdirect_styles require const reference 2021-09-23 14:44:07 +02:00
nick black
72757044da [ncplane_erase_region] generalize #2181 2021-09-21 18:32:39 -04:00
nick black
92f4dce595
use wcsrtombs() in place of wcstombs() 2021-09-20 05:04:25 -04:00
nick black
3faf8ee3fb
[input] introduce NCKEY_EOF #2185 2021-09-19 22:16:31 -04:00
nick black
ea5da346f0
Add keytype indicator to notcurses-input #2182 2021-09-19 21:01:40 -04:00
nick black
99007e128c
[input] add evtype to ncinput, for press/repeat/release #2182 2021-09-19 20:13:02 -04:00
nick black
5eed1abe8e notcurses_get: restore old delaybound behavior #2169 2021-09-17 15:46:08 -04:00
joseLuís
17133fb4f9 remove old reference to sigmask in notcurses_get
and update description for the same function in USAGE.md
2021-09-16 19:54:45 +02:00
nick black
1d4c62d446
[input] implement timeouts 2021-09-16 02:03:00 -04:00
nick black
9e9a949f0f
[direct] move to new cursor location reports 2021-09-14 06:13:54 -04:00
nick black
ede5190fb8
redeclare ncdirect_getc() 2021-09-14 05:55:11 -04:00
nick black
1630a1629f
merge that shit 2021-09-14 03:41:46 -04:00
nick black
3cf5a67b84
input thread #2136 2021-09-14 03:34:53 -04:00
nick black
39025dd053
eliminate kitty graphics one-off enum type 2021-09-14 00:29:54 -04:00
nick black
2fbdb50d71
remove deprecated static inlines 2021-09-13 15:34:19 -04:00
nick black
20edd5a3cd
purge deprecated cell typedef 2021-09-13 15:30:47 -04:00
nick black
be1dc5f2f9
mention CLI mode following ncoptions 2021-09-13 04:11:15 -04:00
nick black
4789aca20f
notcurses.h: remove some more deprecated static inlines 2021-09-13 01:38:30 -04:00
nick black
e14a320217
notcurses.h: remove some deprecated #defines 2021-09-13 01:34:58 -04:00
nick black
4ec1bfd8be
[info] differentiate between kitty animation and kitty selfref #2161 2021-09-12 02:17:29 -04:00
nick black
88f40df4ae
[plots] print current sample as summary #2152 2021-09-11 23:28:50 -04:00
nick black
54cf38b076
add ncstrwidth_valid() and documentation #2153 2021-09-10 01:28:27 -04:00
nick black
467fed4a3a
add attribute(nonnull) to some declarations 2021-09-03 05:22:27 -04:00
nick black
ff12a1f75b
distinguish between halfblock and quadrant capabilities #2109 2021-08-28 02:39:25 -04:00
nick black
93073e595a
move includes from ncport.h to internal compat.h 2021-08-26 02:01:20 -04:00
nick black
ba030a3293 Windows: kill some warnings 2021-08-26 05:36:43 -04:00
nick black
f4f2bdd2f6 ncport: use wcslen as approximation to wcswidth for now 2021-08-24 03:43:41 -04:00
nick black
1571bfee72 pixelplots: paint only through egcidx #1382 2021-08-22 07:22:07 -04:00
nick black
ed557257d9 add notcurses_{enter,leave}_alternate_screen #2082 2021-08-21 23:00:58 -04:00
nick black
b978f58985 stop supporting/advertising renderfp #2081 2021-08-21 23:00:58 -04:00
nick black
096ddf313a
remove unused PNG code 2021-08-16 00:29:51 -04:00
nick black
99a653db5f
shuffle up ncport.h to restore Hurd 2021-08-16 00:23:33 -04:00
nick black
d00a96d850
GNU Hurd doesn't have wcwidth() nor wcswidth() 2021-08-15 23:58:25 -04:00
nick black
c33ce4f9dd
rewrite NCCHANNELS_INITIALIZER in terms of NCCHANNEL_INITIALIZER 2021-08-13 14:14:33 -04:00
nick black
e35c49889d
ncchannel: make some unsigneds explicit uint32_ts 2021-08-13 03:54:06 -04:00
nick black
6d4e58202f
fix windows build, ugh 2021-08-12 19:24:01 -04:00
nick black
4d6526a61d ncneofetch rewritten in CLI mode
ncneofetch was previously direct mode followed by rendered mode with
margins, a Frankenstein application if one ever existed. Rewrite it
using CLI mode, extending the latter as necessary to accomplish this
task. We now have one fewer dependency on direct mode, we have better
proven out CLI mode, and we get a ~30% reduction in ncneofetch runtime.
Good stuff! Closes #2030.

Add ncplane_scrollup() and ncplane_scrollup_child()
Cleans up ncport.h
Eliminates some inconsequential memory leaks in ncneofetch
Add SPRIXEL_UNSEEN to avoid invalid moves on
 not-yet-displayed sprixels
2021-08-12 18:37:53 -04:00
nick black
bf2754cedb get windows working once more 2021-08-05 06:39:09 -04:00
nick black
6a4a7fb1d6 define out O_NONBLOCK for windows 2021-08-05 06:39:09 -04:00
nick black
a346a5bf64
add new functions notcurses_{host,account}name() 2021-08-04 23:17:34 -04:00
nick black
24d7d6d995
start merging in the fauxmemstream branch #1977 2021-08-04 14:59:37 -04:00
nick black
6162ba3943 restore compatibility ncvisual_subtitle() 2021-07-27 15:47:21 -04:00
nick black
b0b5e49383 ncvisual_from_palidex 2021-07-27 15:47:21 -04:00
nick black
1448960cd5 start handling type-1 DVB subtitles #1311 2021-07-27 15:47:21 -04:00