Commit Graph

5566 Commits

Author SHA1 Message Date
nick black
03d1e4fb5a
get u7 from terminfo rather than hardcoding it 2021-06-13 20:00:43 -04:00
nick black
6d68e3c0cd
reference tack(1) in notcurses-{input,info}(1) 2021-06-13 19:46:40 -04:00
nick black
0d7a5a5ef8 remove the majority of notcurses_check_pixel_support() calls #1469 2021-06-13 18:21:14 -04:00
nick black
ca4a1c7fd8 roll back wayward sed on rust 2021-06-13 18:21:14 -04:00
nick black
309d211cde termdesc: only bounce back to cbreak if fd >= 0 #1469 2021-06-13 18:21:14 -04:00
nick black
288381d5b9 ncinputlayer_init: only read responses on a tty #1469 2021-06-13 18:21:14 -04:00
nick black
be1356d213 termdesc: use cbreak mode until interrogation is complete #1469 2021-06-13 18:21:14 -04:00
nick black
73019e097f debug_caps: elide meaningless max sixel when 0 2021-06-13 18:21:14 -04:00
nick black
7381356594 check for sixel_maxy before clamping; fixes MLTerm sixel 2021-06-13 18:21:14 -04:00
nick black
56c58c41f9 removed accursed alacritty_sixel_hack, hurrah! 2021-06-13 18:21:14 -04:00
nick black
0574a3a479 hook up sixel discovery through new one-shot query #1469 2021-06-13 18:21:14 -04:00
nick black
5fcce3d8b7 init vtmachine: extract numeric arguments for sixel #1469 2021-06-13 18:21:14 -04:00
nick black
398ebca5fd extract XTVERSION, drain XTSMGRAPHICS on failure #1469 2021-06-13 18:21:14 -04:00
nick black
c0b724e140 add STATE_XTVERSION{1,2}, recognize ST to terminate #1469 2021-06-13 18:21:14 -04:00
nick black
4478896916 differentiate VT101 vs XTSMGRAPHICS color registers #1469 2021-06-13 18:21:14 -04:00
nick black
78b674610c kill old xtsmgraphics / da lexing 2021-06-13 18:21:14 -04:00
nick black
4006f05cbd effect STATE_DA_DRAIN state #1469 2021-06-13 18:21:14 -04:00
nick black
9efda3e5bc start handling primary device attributes #1469 2021-06-13 18:21:14 -04:00
nick black
8569906dd3 bulk up notcurses-info with more glyphs 2021-06-13 18:21:14 -04:00
nick black
44ce08ecd6 pump_control_input: handle XTGETTCAP prefix 2021-06-13 18:21:14 -04:00
nick black
fc6bc1a3d8 build up pump_control_read() state machine, terminate on DA response #1469 2021-06-13 18:21:14 -04:00
nick black
a35ea97e2c remove obsolete comment in handle_input() 2021-06-13 18:21:14 -04:00
nick black
a22e941b5e ncinputlayer_init: prep for terminal detection end sequene 2021-06-13 18:21:14 -04:00
nick black
935e982487 unify inputlayer setup/teardown 2021-06-13 18:21:14 -04:00
nick black
59a36681be rename inputlayer->ttyinfd to infd, as it's not necessarily a tty 2021-06-13 18:21:14 -04:00
nick black
f6405ca051 send CSI>q query, necessary for picking up wezterm DCS #1759 2021-06-13 18:21:14 -04:00
nick black
41231800c6 use XTTERMCCAP TN request in initial query 2021-06-13 18:21:14 -04:00
nick black
03b896e7ad send XTGETTCAP for terminal name 2021-06-13 18:21:14 -04:00
nick black
cadd4aefee s/CELL_ALPHA_/NCCELL_ALPHA_/g 2021-06-13 18:21:14 -04:00
nick black
fc2bbca1ca notcurses-info: break up text segments 2021-06-13 18:21:14 -04:00
nick black
83ac96365d more input planning 2021-06-13 18:21:14 -04:00
nick black
1b86af1398 HACKING add some thoughts on input/queries #1469 2021-06-13 18:21:14 -04:00
nick black
e99221f59e replace all writen() with blocking_write() to avoid spins 2021-06-13 18:21:14 -04:00
nick black
834f256ec9 notcurses-info: be reliable in the face of output EAGAIN 2021-06-13 18:21:14 -04:00
joseLuís
2c8a364f3a [rust] fix pixel-cell example
- fix column and row order in visual resize methods
2021-06-13 22:39:11 +02:00
igo95862
4fb67d6a91
python: Fix copyright years 2021-06-13 20:27:16 +03:00
igo95862
c30343e6f6 python: Merge fixes 2021-06-13 20:16:07 +03:00
igo95862
bcf216a667
python: Small imports sort 2021-06-13 20:12:12 +03:00
igo95862
5baa5ac5ff
python: Added half of the stub file 2021-06-13 20:11:53 +03:00
nick black
a290e3f741
NEWS: fix typos info: dump more unicode 2021-06-13 10:13:25 -04:00
joseLuís
3d830f5e73 [rust] updates against 2.3.4
- remove ncvisual_inflate and add ncvisual_resize_noninterpolative & fix example.
- add notcurses_detected_terminal & ncdirect_detected_terminal.
- take into account new static functions pending to implement:
  ncdirect_light_box, ncdirect_heavy_box, nccells_light_box, nccells_heavy_box, nccells_ascii_box.
- update module info headers notation.
2021-06-13 13:07:00 +02:00
nick black
160868d9e8
v2.3.4 2021-06-12 17:27:28 -04:00
nick black
0b72bec79d
add ncdirect_ascii_box(), use it in DefaultBox unit test 2021-06-12 17:20:37 -04:00
nick black
4ca1036da9
v2.3.3 2021-06-12 16:54:36 -04:00
joseLuís
125ab361e6 [rust] add pending functions
- include new functions: ncdirect_stream, ncdirect_supported_styles, ncdirect_styles, nccell_width, ncinput_nomod_p.
- account for functions: ncplane_halign, ncplane_valign.
- rename ncpalette_get_rgb and ncpalette_set_rgb to ncpalette_get_rgb8 and ncpalette_set_rgb8 respectively.
- minor formatting fixes.
2021-06-12 21:29:03 +02:00
nick black
d695a8206f
add ncdirect_detected_terminal() and notcurses_detected_terminal() #1759 2021-06-12 13:10:16 -04:00
nick black
e838209d21
ncdirect_vline_interp: force default background if selected #1752 2021-06-12 10:35:38 -04:00
nick black
8b058d022b
ncdirect_hline_interp: force default background if selected #1752 2021-06-12 10:34:26 -04:00
nick black
21f3dbf72c
NEWS: note ncdirect_box() bugfix #1752 2021-06-12 10:24:09 -04:00
nick black
b541ec198d
direct mode: factor out activate_channels(), use it in ncdirect_box #1752 2021-06-12 10:21:49 -04:00