![]() |
libghostty
|
#include <ghostty/vt/formatter.h>
Data Fields | |
| size_t | size |
| GhosttyFormatterFormat | emit |
| bool | unwrap |
| bool | trim |
| GhosttyFormatterTerminalExtra | extra |
| const GhosttySelection * | selection |
Options for creating a terminal formatter.
Definition at line 99 of file formatter.h.
Output format to emit.
Definition at line 104 of file formatter.h.
Extra terminal state to include in styled output.
Definition at line 113 of file formatter.h.
| const GhosttySelection* selection |
Optional selection to restrict output to a range. If NULL, the entire screen is formatted.
Definition at line 117 of file formatter.h.
| size_t size |
Size of this struct in bytes. Must be set to sizeof(GhosttyFormatterTerminalOptions).
Definition at line 101 of file formatter.h.
| bool trim |
Whether to trim trailing whitespace on non-blank lines.
Definition at line 110 of file formatter.h.
| bool unwrap |
Whether to unwrap soft-wrapped lines.
Definition at line 107 of file formatter.h.