mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Three SIXEL improvements from nincsnevem662 at gmail dot com in GitHub issue
4149: - Pass P2 on the received image through when forwarding the image to the outside terminal to preserve transparency; - Preserve raster attribute dimensions which may be smaller than the actual image (used to crop out parts of the image to work around the limitation that rows must come in groups of six); - To avoid collapsing empty sixel lines, no longer ignore duplicate "-" new line specifiers.
This commit is contained in:
2
tmux.h
2
tmux.h
@ -3493,7 +3493,7 @@ int image_scroll_up(struct screen *, u_int);
|
||||
|
||||
/* image-sixel.c */
|
||||
#define SIXEL_COLOUR_REGISTERS 1024
|
||||
struct sixel_image *sixel_parse(const char *, size_t, u_int, u_int);
|
||||
struct sixel_image *sixel_parse(const char *, size_t, u_int, u_int, u_int);
|
||||
void sixel_free(struct sixel_image *);
|
||||
void sixel_log(struct sixel_image *);
|
||||
void sixel_size_in_cells(struct sixel_image *, u_int *, u_int *);
|
||||
|
Reference in New Issue
Block a user