Simplify image support terminology

This commit is contained in:
Michael Grant
2026-08-06 16:17:21 +01:00
parent 0b2739c62c
commit 95b6adbd61
3 changed files with 4 additions and 4 deletions

View File

@@ -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)

View File

@@ -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)
{

View File

@@ -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;