KetraTerm
API · DevelopmentAll versions

TerminalGraphicsLimits

KetraTerm admission limits, not Kitty wire constants or a total JVM memory cap. Retained counts cover both screens and history; external consumers may retain immutable image versions after core releases them.

Properties

Link copied to clipboard
const val CHUNK_BYTES: Int

Base64 payload bytes in one APC chunk, independent of ingress read size.

Link copied to clipboard
const val DIMENSION: Int = 8192

Maximum width or height in source pixels, checked before raster allocation.

Link copied to clipboard
const val ENCODED_BYTES: Int

Cumulative Base64 payload bytes in one upload.

Link copied to clipboard
const val HEADER_BYTES: Int = 1024

Control-header bytes, excluding APC introducer, separator and terminator.

Link copied to clipboard
const val IMAGES: Int = 256

Retained image records, including images without placements.

Link copied to clipboard
const val PIXELS: Int

Maximum source pixel count for one image, in addition to the edge limit.

Link copied to clipboard
const val PLACEMENTS: Int

Retained placement records; many placements may reference one image.

Link copied to clipboard
const val RETAINED_BYTES: Int

Canonical ARGB bytes retained by core; a view's raster cache has the same separate budget.

Link copied to clipboard
const val TRANSFER_BYTES: Int

Decoded bytes retained while assembling one upload.