Class: Charming::Image::Transmit

Inherits:
Data
  • Object
show all
Defined in:
lib/charming/image/transmit.rb

Overview

Transmit is a single out-of-band terminal graphics payload: the escape-sequence string that transmits an image (and creates its virtual placement) for a given image_id. It travels on Response#graphics and is written verbatim to the backend by the Runtime, bypassing the line-based frame pipeline. image_id is retained for deduplication and spec assertions.

Instance Attribute Summary collapse

Instance Attribute Details

#image_idObject (readonly)

Returns the value of attribute image_id

Returns:

  • (Object)

    the current value of image_id



9
10
11
# File 'lib/charming/image/transmit.rb', line 9

def image_id
  @image_id
end

#payloadObject (readonly)

Returns the value of attribute payload

Returns:

  • (Object)

    the current value of payload



9
10
11
# File 'lib/charming/image/transmit.rb', line 9

def payload
  @payload
end