nick black
d1fc0c3adc
ncneofetch: no newline in RAM line #1386
2021-03-07 14:10:50 -05:00
nick black
e57a714936
init banner: more vibrant RGB indicator
2021-03-07 14:10:19 -05:00
nick black
0576793565
sixel: back out Set Raster Attributes (PR #1384 )
...
Set Raster Attributes allows us to specify the pixel
aspect ratio and the image geometry. Unfortunately, it
has the side effect of filling in all unspecified sixels
with Color Register 0, which we do not want.
2021-03-07 13:53:00 -05:00
Daniel Eklöf
0b89c8943f
sixel: use Set Raster Attributes to configure image size
...
This lets the terminal allocate the image once, instead of dynamically
resizing the image as the sixel data is emitted.
Note that this isn’t limiting the sixel size - if the sixel ends up
being larger than advertised here, the terminal is required to resize
the image to fit the entire sixel (i.e. you cannot use this to crop
the image to something that isn’t a multiple of 6).
2021-03-07 11:51:13 -05:00
Daniel Eklöf
3e8e51525a
sixel: don’t emit DECGNL after the last row
...
Emitting DECGNL is the sixel equivalent of printing ‘\n’, and can
cause the terminal content to scroll.
2021-03-07 11:49:49 -05:00
nick black
e277df390b
sixel: remove obsolete comments
2021-03-04 15:19:01 -05:00
nick black
717562f54e
sixel: binary search, cut another 40% #1380
2021-03-04 02:25:10 -05:00
nick black
76e1f01572
ncls: use NCBLIT_PIXEL
2021-03-04 02:24:55 -05:00
nick black
c0cad0d497
sixel: heap-allocate ctable directly
2021-03-03 23:59:09 -05:00
nick black
f71dbd6413
properly reposition cursor on shutdown in 0 render case
2021-03-03 23:55:34 -05:00
nick black
60ff6a73d6
sliders: simplify, kill compiler warning
2021-03-03 23:33:33 -05:00
nick black
eb87cd4892
banners: drop terminal line, move rgb/size down
...
Cleans up the init banner a bit, and removes the terminal line
printed at the very beginning. Rewrites two loops in
`ncplane_reparent()` to avoid warnings with older gcc #1348 .
2021-03-03 23:17:38 -05:00
nick black
e3ede498b6
sixel: combine ctable/dtable extraction passes, cuts 80% of runtime #1380
2021-03-03 22:34:14 -05:00
nick black
43b3724f07
init banner: punch up RGB signifier
2021-03-02 08:12:37 -05:00
nick black
7b28c68cd5
ncneofetch: prettier RGB signifier
2021-03-02 08:12:37 -05:00
nick black
43937cfb5b
ncneofetch: use NCBLIT_PIXEL #1380
2021-03-02 08:12:37 -05:00
nick black
7b61395ec4
sixel: set egc width properly based off tcache #1380
2021-03-02 08:12:37 -05:00
nick black
3ad8057965
ncdirect: proper scaling for NCBLIT_PIXEL #1380
2021-03-02 08:12:37 -05:00
nick black
7592d0c4a3
rendered mode: properly scale pixel graphics #1380
2021-03-02 08:12:37 -05:00
nick black
2eb3bc1f88
get cell size in pixels, include in banner #1368
2021-03-02 08:12:37 -05:00
nick black
f86b4cdc8c
document terminal TIOCGWINSZ pixel support
2021-03-02 01:03:45 -05:00
nick black
1e77fcc5c5
notcurses_stop: restore nonblocking state #1090
2021-03-01 22:38:58 -05:00
nick black
f09ed74e84
sixel: purge leftover cruft
2021-03-01 18:54:57 -05:00
nick black
647225bee3
sixel: document some stuff, drop memset()
2021-03-01 18:26:45 -05:00
nick black
a9c257465a
keller demo: separate legend lines
2021-03-01 18:17:35 -05:00
nick black
7e451c42d2
eliminate duplicate set_fd_nonblocking()
2021-02-28 22:19:55 -05:00
nick black
a759f9ba0b
keller: always begin at row 1
2021-02-28 13:19:19 -05:00
nick black
1b2aedff67
keller: add pixel iteration #1281
2021-02-28 13:03:35 -05:00
nick black
49c7b6be3f
sixel_blit: dumb quantization algorithm #1378
2021-02-28 11:44:34 -05:00
nick black
3382de37e3
ncdirect_render_frame: single row for NCBLIT_PIXEL #1380
2021-02-28 10:13:25 -05:00
nick black
e0de3c310b
sixel_blit(): drop all use of x/y; we map to a single cell #1380
2021-02-28 10:13:06 -05:00
nick black
69765080e7
ncplayer: start on row 1 for NCBLIT_PIXEL #1380
2021-02-28 09:49:16 -05:00
nick black
4a203ef0a9
direct mode: optimize out redundant SETAF, nice
2021-02-28 09:08:47 -05:00
nick black
dc62ce46f1
sixel_blit: apply sixel RLE #1378
2021-02-28 09:05:14 -05:00
nick black
38e60a3c0a
sixel_blit(): get it working #1378
2021-02-28 08:39:51 -05:00
nick black
03034c4ca0
sixel_data: fix up access in write_sixel_data() #1378
2021-02-28 08:39:51 -05:00
nick black
8fc9b0ff21
sixel_blit: write sixel data out #1378
2021-02-28 08:39:51 -05:00
nick black
cb2e905ccf
sixel: implement extract_data_table() #1378
2021-02-28 08:39:51 -05:00
nick black
93da926e47
sixel: drop all sixelmode from rasterizer #1378
2021-02-28 08:39:51 -05:00
nick black
808fa9226f
sexel_blit: add extract_color_table()
2021-02-28 08:39:51 -05:00
nick black
b846f70e16
extract sixel_blit into sixel.c
2021-02-28 05:22:01 -05:00
nick black
49ce0d1c57
mention SIGCONT along with SIGWINCH
2021-02-28 04:26:00 -05:00
nick black
381b34019a
sixel_blit: correct number of bands #1378
2021-02-28 02:07:08 -05:00
nick black
796e2fe1eb
kill unused param warning in sixel_blitter()
2021-02-28 01:47:40 -05:00
nick black
b8281801d6
raster: don't mix sixel and cup #200
2021-02-28 00:56:01 -05:00
nick black
ea7630692a
sixel_blit: correctly set and match colors #200
2021-02-28 00:56:01 -05:00
nick black
b81b1568b1
simplify signature of term_styles()
2021-02-28 00:56:01 -05:00
nick black
9799ed8175
ncplayer: use NCBLIT_DEFAULT without -b
2021-02-27 19:03:42 -05:00
nick black
0ffbba3365
restore stashed stats for closing banner #1374
2021-02-27 19:03:42 -05:00
nick black
2437e6c89c
ncplayer: handle ctrl-L for redraw
2021-02-27 19:03:42 -05:00