mirror of
https://github.com/tmux/tmux.git
synced 2026-08-28 17:41:35 +00:00
Simplify image support terminology
This commit is contained in:
@@ -530,7 +530,7 @@ if test "x$enable_cgroups" = xyes; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Enable protocol-neutral image support.
|
||||
# Enable image support.
|
||||
AC_ARG_WITH(
|
||||
image-support,
|
||||
AS_HELP_STRING(--with-image-support, enable Kitty/SIXEL/ASCII images)
|
||||
|
||||
@@ -509,7 +509,7 @@ sixel_colour_to_rgb(u_int colour, u_char *r, u_char *g, u_char *b)
|
||||
*b = sixel_hue(p, q, h + 1.0 / 3) * 255 + 0.5;
|
||||
}
|
||||
|
||||
/* Convert decoded SIXEL data into the protocol-neutral immutable image. */
|
||||
/* Convert decoded SIXEL data into the immutable image. */
|
||||
struct image *
|
||||
sixel_to_image(struct sixel_image *si)
|
||||
{
|
||||
|
||||
4
image.c
4
image.c
@@ -27,7 +27,7 @@
|
||||
|
||||
#include "tmux.h"
|
||||
|
||||
/* A protocol-neutral average of part of an image cell. RGB is premultiplied. */
|
||||
/* An average of part of an image cell. RGB is premultiplied. */
|
||||
struct image_sample {
|
||||
u_char red;
|
||||
u_char green;
|
||||
@@ -45,7 +45,7 @@ struct image_cell {
|
||||
struct image_sample samples[IMAGE_SAMPLE_ROWS][IMAGE_SAMPLE_COLUMNS];
|
||||
};
|
||||
|
||||
/* Immutable protocol-neutral image placement. */
|
||||
/* Immutable image data and cell geometry. */
|
||||
struct image {
|
||||
u_int id;
|
||||
u_int references;
|
||||
|
||||
Reference in New Issue
Block a user