nick black
47bffea4ab
extract out tiocgwinsz() #2141
2021-09-28 04:30:38 -04:00
nick black
a4ce67edcb
pull readline from workflows
2021-09-28 04:27:56 -04:00
nick black
b19c9a7ad1
[ncdirect_readline] return NULL on NCKEY_EOF sans input #2211
2021-09-28 01:59:18 -04:00
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
nick black
3ddbb3c2ec
readline PoC
2021-09-27 22:32:19 -04:00
initramfs
671656ea80
fix ncpp throwing heap allocated exceptions
2021-09-27 17:34:22 -04:00
nick black
a603d265a4
v2.4.3
2021-09-26 12:35:50 -04:00
nick black
925fccbbc3
setup_sixel_bitmaps(): update comment re DECSDM #2205
2021-09-26 10:19:47 -04:00
nick black
61c700aafc
notcurses_stop: put newline into fbuf
2021-09-26 09:43:57 -04:00
nick black
580727f9ae
init_sixel: correct comment #2205
2021-09-26 09:39:57 -04:00
nick black
c8f614ae19
sixel_init_inverted: correct comment #2205
2021-09-26 09:37:13 -04:00
nick black
3136abca48
[sixel] don't use the short form of 80+8452; contour barfs
2021-09-26 08:24:02 -04:00
nick black
c5ab28acbd
[termdesc] contour still has classic DECSDM
2021-09-26 07:29:53 -04:00
nick black
2239e1c7fc
[intro] don't require pixels for orca
2021-09-26 07:18:52 -04:00
nick black
8585c0a8a9
[subprocs] use posix_spawn in place of fork+exec #2194
2021-09-26 07:05:19 -04:00
nick black
9d7fb54535
replace ncsubproc_createvpe() with ncexecvpe() #2194
2021-09-26 04:56:06 -04:00
nick black
5553919579
[subprocs] factor out ncexecvpe() #2194
2021-09-26 04:56:06 -04:00
nick black
a5397ea19a
[subproc] kill FIXME; set pipes O_CLOEXEC manually in absence of pipe2()
2021-09-26 04:56:06 -04:00
nick black
3c7d23b151
[compat] add set_fd_cloexec()
2021-09-26 04:56:06 -04:00
nick black
4da93eae5d
kill FIXME: detect whether linesigs are enabled on startup
2021-09-26 00:11:33 -04:00
nick black
58f650f0c1
drop mlterm inversion for DECSDM
2021-09-25 22:56:47 -04:00
nick black
0b62a89834
Invert interpretation of DECSDM #2204
...
more and more terminals are switching their
interpretation of DECSDM to match the actual VT340
behavior, rather than that of XTerm prior to
patchlevel 369. start using \e[?80l by default to
turn DECSDM on. track terminalsXversions which
use the previous behavior, and for them, emit 80h.
continue to always send 8452h, on which i have
no data suggesting anything but one interpretation.
remove pixel_shutdown. note that Alacritty switched
over to the new semantics in 0.15.1.
2021-09-25 22:56:47 -04:00
nick black
9f2eb07ce6
make pixel implementation choice clearer
...
We were using the value of pixel_shutdown to decide
whether we needed to take a kitty-specific path or
not. Instead, just use the pixel_implementation field
of tinfo, which was added a few weeks back.
2021-09-25 22:56:47 -04:00
nick black
6985d9a715
drop tinfo argument from pixel_init()
2021-09-25 22:56:47 -04:00
nick black
556039eb73
compare_versions: work for multidigit version components
2021-09-25 12:47:56 -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
0918fa251e
XTerm 359+ uses correct DECSDM #1782
2021-09-23 06:14:51 -04:00
nick black
eee94d8e40
mintty switches DECSDM in 3.5.2 #1782
2021-09-22 19:44:19 -04:00
nick black
f42a563367
[input] no transitions >= 0x80
2021-09-22 18:18:22 -04:00
magiblot
7fd93b5977
ncwidth: fix heap overrun
2021-09-22 11:59:20 -04:00
nick black
4fa15e4256
NEWS entry about ncplane_erase_region() #2181
2021-09-21 18:33:38 -04:00
nick black
828c06ffde
ncplane_erase_region: unit tests
2021-09-21 18:32:39 -04:00
nick black
8a0d924baf
ncplane_erase_region(): protect against overflow
2021-09-21 18:32:39 -04:00
nick black
0c41b3ddc5
grid: cli-style
2021-09-21 18:32:39 -04:00
nick black
69e58667c7
[bitmapstates] properly use ncplane_erase_region()
2021-09-21 18:32:39 -04:00
nick black
ad2b806444
add grid PoC
2021-09-21 18:32:39 -04:00
nick black
e770dbff43
ncplane_erase_regions: generalize harder #2181
2021-09-21 18:32:39 -04:00
nick black
72757044da
[ncplane_erase_region] generalize #2181
2021-09-21 18:32:39 -04:00
nick black
9733835673
ncplane_erase_region: grotesque copy-and-paste bug =[
2021-09-20 21:32:16 -04:00
nick black
94edc372e5
prep NEWS.md for 2.4.3
2021-09-20 08:09:40 -04:00
nick black
5269e4b709
v2.4.2
2021-09-20 08:03:12 -04:00
nick black
0fef97c1fb
ncneofetch: no scaling when using NCBLIT_PIXEL
2021-09-20 06:22:27 -05:00
nick black
d8c1a67b81
[input] don't tear down input layer on windows for now #2192
2021-09-20 07:01:38 -04:00
nick black
257ec21671
[windows] use WaitForSingleObject
2021-09-20 05:17:42 -04:00
nick black
92f4dce595
use wcsrtombs() in place of wcstombs()
2021-09-20 05:04:25 -04:00
nick black
5412adef4d
[input] set rifd high on WAIT_OBJECT_0 #2192
2021-09-20 04:38:44 -04:00