term.gfx.proto.send_data_file

term.gfx.proto

send_data_file(file_path, options, use_sync)

Send image data to the terminal via file transmission

Sends a Kitty graphics command with t=f (file transmission). The payload is the base64-encoded absolute path to the image file on disk. The terminal reads the file directly. When use_sync is true the write is wrapped in synchronized output mode escapes.