nick black
2b482109af
[automaton] remove defunct fill_in_numerics
3 years ago
nick black
5d8fbc6137
[automaton] numeric insertion algorithm perfected #2222
3 years ago
nick black
686a72a697
[automaton] phase I and II of new numeric insert algorithm #2222
3 years ago
nick black
6c45a087bf
build cflow following special keys #2222
3 years ago
nick black
f0fd38ef9e
[windows] kill some %j conversion in ncmultiselector
3 years ago
nick black
5e07cf9015
[windows] kill %zu conversion
3 years ago
nick black
bbb778b7de
[da1_cb] admit 60 as sent by kmscon
3 years ago
nick black
af62226f69
[plots] always return -1 on x below window
3 years ago
nick black
346e7354a0
[plots] don't redraw plot when there's no change #2221
3 years ago
nick black
fff190fe29
[automaton] NAK: terminfo is not thread-safe =/
3 years ago
nick black
2498fffbbb
[automaton] unify insertion paths into insert_path() #2183
3 years ago
nick black
ce931a1bd5
[add_cflow] s/csi/seq/g
3 years ago
nick black
57179a1c38
[automaton] pool needn't be so large, methinks
3 years ago
nick black
57e5981b9d
[automaton] kill memory leak via arena
3 years ago
nick black
9fc4418912
[automaton] match follow for mouse events
3 years ago
nick black
49365e2d22
decrpm_asu_cb: correct follow
3 years ago
nick black
1442b35fb5
[input] enable prep_special_keys() once more
3 years ago
nick black
f19ffddb40
[automaton] robustify/minimize string matches #2219
3 years ago
nick black
0749800a9d
[automaton] better numeric matching #2219
3 years ago
nick black
21cd23d767
logging: replace some llx with PRIx64
3 years ago
nick black
f816365aab
clean up some compiler warnings on macOS
3 years ago
nick black
b5c161a07c
Unify control sequence automata #2183 ( #2208 )
...
Unify the dynamic, dataflow special keys automaton and the static, codeflow terminal response automaton, yielding a single automaton. Add kitty keyboard support information to `notcurses-info`. Closes #2183 .
3 years ago
nick black
05635aa60d
[input] windows: don't try to make a pipe
3 years ago
nick black
f6b06c3bfd
[input] drain input readiness pipe on clearing input buffer #2216
3 years ago
nick black
81e360e500
[input] activate ready pipes upon producing input data #2216
3 years ago
nick black
5899a71e28
[input] create ready pipes #2216
3 years ago
nick black
9970238514
notcurses-input: fix plot width to legend
3 years ago
nick black
47bffea4ab
extract out tiocgwinsz() #2141
3 years ago
nick black
b19c9a7ad1
[ncdirect_readline] return NULL on NCKEY_EOF sans input #2211
3 years ago
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.
3 years ago
nick black
3ddbb3c2ec
readline PoC
3 years ago
initramfs
671656ea80
fix ncpp throwing heap allocated exceptions
3 years ago
nick black
925fccbbc3
setup_sixel_bitmaps(): update comment re DECSDM #2205
3 years ago
nick black
61c700aafc
notcurses_stop: put newline into fbuf
3 years ago
nick black
580727f9ae
init_sixel: correct comment #2205
3 years ago
nick black
c8f614ae19
sixel_init_inverted: correct comment #2205
3 years ago
nick black
3136abca48
[sixel] don't use the short form of 80+8452; contour barfs
3 years ago
nick black
c5ab28acbd
[termdesc] contour still has classic DECSDM
3 years ago
nick black
2239e1c7fc
[intro] don't require pixels for orca
3 years ago
nick black
8585c0a8a9
[subprocs] use posix_spawn in place of fork+exec #2194
3 years ago
nick black
9d7fb54535
replace ncsubproc_createvpe() with ncexecvpe() #2194
3 years ago
nick black
5553919579
[subprocs] factor out ncexecvpe() #2194
3 years ago
nick black
a5397ea19a
[subproc] kill FIXME; set pipes O_CLOEXEC manually in absence of pipe2()
3 years ago
nick black
3c7d23b151
[compat] add set_fd_cloexec()
3 years ago
nick black
4da93eae5d
kill FIXME: detect whether linesigs are enabled on startup
3 years ago
nick black
58f650f0c1
drop mlterm inversion for DECSDM
3 years ago
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.
3 years ago
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.
3 years ago
nick black
6985d9a715
drop tinfo argument from pixel_init()
3 years ago
nick black
556039eb73
compare_versions: work for multidigit version components
3 years ago
joseLuís
fb003c4eef
fix doc-comment on ncplane_erase_region
...
and another minor typo
3 years ago
joseLuís
2141338e4c
revert stylemask return types #2200
3 years ago
joseLuís
1811e3b0ef
fix stylemask return types #2200
3 years ago
joseLuís
d55a44ef4b
make `ncdirect_styles` require const reference
3 years ago
nick black
0918fa251e
XTerm 359+ uses correct DECSDM #1782
3 years ago
nick black
eee94d8e40
mintty switches DECSDM in 3.5.2 #1782
3 years ago
nick black
f42a563367
[input] no transitions >= 0x80
3 years ago
magiblot
7fd93b5977
ncwidth: fix heap overrun
3 years ago
nick black
828c06ffde
ncplane_erase_region: unit tests
3 years ago
nick black
8a0d924baf
ncplane_erase_region(): protect against overflow
3 years ago
nick black
0c41b3ddc5
grid: cli-style
3 years ago
nick black
69e58667c7
[bitmapstates] properly use ncplane_erase_region()
3 years ago
nick black
ad2b806444
add grid PoC
3 years ago
nick black
e770dbff43
ncplane_erase_regions: generalize harder #2181
3 years ago
nick black
72757044da
[ncplane_erase_region] generalize #2181
3 years ago
nick black
9733835673
ncplane_erase_region: grotesque copy-and-paste bug =[
3 years ago
nick black
0fef97c1fb
ncneofetch: no scaling when using NCBLIT_PIXEL
3 years ago
nick black
d8c1a67b81
[input] don't tear down input layer on windows for now #2192
3 years ago
nick black
257ec21671
[windows] use WaitForSingleObject
3 years ago
nick black
92f4dce595
use wcsrtombs() in place of wcstombs()
3 years ago
nick black
5412adef4d
[input] set rifd high on WAIT_OBJECT_0 #2192
3 years ago
nick black
690ed75c8f
[input] initialize stdinhandle on windows #2192
3 years ago
nick black
7c197fba59
remove obsolete FIXME
3 years ago
nick black
675a4ac63c
we're using kitty keyboard level 1, not 31
3 years ago
nick black
0bf192f4c1
sync sixel_draw/kitty_redraw #2189
3 years ago
nick black
e983c83d4e
[input] mask SIGTHR where defined #2191
3 years ago
nick black
343a74ac82
[ncneofetch] don't move logo to left #2138
3 years ago
nick black
e9891bc555
[interp] drop unused variable 'id'
3 years ago
nick black
37fb92dba3
interp PoC: don't use NCOPTION_DRAIN_INPUT
3 years ago
nick black
5c82d5b849
[input] properly convert delaybounds to deadlines
3 years ago
nick black
82a2f19d67
[input] account input events on receive side only
3 years ago
nick black
3faf8ee3fb
[input] introduce NCKEY_EOF #2185
3 years ago
nick black
ea5da346f0
Add keytype indicator to notcurses-input #2182
3 years ago
nick black
99007e128c
[input] add evtype to ncinput, for press/repeat/release #2182
3 years ago
nick black
b0c4a3af97
direct_dump_cellplane: position all lines according to xoff
3 years ago
nick black
0de21824cc
[input] return error once we've emptied ibuf and hit stdineof
3 years ago
nick black
da6fc8420d
[input] consider a drop to be an input_error
3 years ago
nick black
70997670a5
[sprixel_redraw] want the offset, not absolute position #2168
3 years ago
nick black
6849ed9da7
[input] windows fixes
3 years ago
nick black
bea71b99dd
kill debugging cruft
3 years ago
nick black
d36591b01b
[input] handle mouse release, implement stdineof, w00t!
3 years ago
nick black
60ee94b4ca
pump_control_read: return 2 following XTSMGRAPHICS #2174
3 years ago
nick black
e12aceccce
[input] break up events #2174
3 years ago
nick black
24eac43f4f
interrogate_terminfo: allow for NULL termtype
3 years ago
nick black
8f4fa30e7b
[input] replay non-escapes as regular text #2100
3 years ago
nick black
fe34e797a3
[input] more precise utf8 matching
3 years ago
nick black
00f8246bf9
direct_raster: drop unnecessary flush
3 years ago
nick black
811f9334d1
A melange of fixen ( #2179 )
...
* split up ncdirect_dump_{sprixel, cellplane}()
* build ncdirect_dump_cellplane() out of fbuf #2167
* [macos] don't run pandoc in workflow
* [gpm] account for margins in mouse reports
* [in] drop mouse clicks from top/left margins
* [ffmpeg] compile against avformat 59+ w/out warnings
3 years ago
nick black
875b3a56de
direct PoC: remove unnecssary fflush()es
3 years ago
nick black
e6ca5ebd5e
build ncdirect_dump_cellplane() out of fbuf #2167
3 years ago