src/swipl-devel/packages/xpce/man/refmanual/md/terminal_image.md

class terminal_image {#class-terminal_image}

Graphical that renders text in a terminal-style buffer with ANSI cell colouring, a hardware-style cursor, scrollback and selection. Used to embed a terminal view (REPL output, command transcripts, child process I/O, …) inside an xpce frame. Subclass of graphical.

A terminal_image keeps a ring buffer of rendered cells (size <-save_lines), exposes the visible region as a scrollable area with an associated <-scroll_bar, and emits high-level events for keystrokes and hovered hyperlinks.

@see class graphical @see class text_image @see class text_buffer

Instance variables {#class-terminal_image-instvars}

Send methods {#class-terminal_image-send}

Get methods {#class-terminal_image-get}

Class variables {#class-terminal_image-classvars}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.