![]() |
libghostty
|
#include <stddef.h>#include <stdint.h>#include <ghostty/vt/types.h>#include <ghostty/vt/allocator.h>Go to the source code of this file.
Data Structures | |
| struct | GhosttyTerminalOptions |
| union | GhosttyTerminalScrollViewportValue |
| struct | GhosttyTerminalScrollViewport |
Typedefs | |
| typedef struct GhosttyTerminal * | GhosttyTerminal |
Enumerations | |
| enum | GhosttyTerminalScrollViewportTag { GHOSTTY_SCROLL_VIEWPORT_TOP , GHOSTTY_SCROLL_VIEWPORT_BOTTOM , GHOSTTY_SCROLL_VIEWPORT_DELTA } |
Functions | |
| GhosttyResult | ghostty_terminal_new (const GhosttyAllocator *allocator, GhosttyTerminal *terminal, GhosttyTerminalOptions options) |
| void | ghostty_terminal_free (GhosttyTerminal terminal) |
| void | ghostty_terminal_reset (GhosttyTerminal terminal) |
| GhosttyResult | ghostty_terminal_resize (GhosttyTerminal terminal, uint16_t cols, uint16_t rows) |
| void | ghostty_terminal_vt_write (GhosttyTerminal terminal, const uint8_t *data, size_t len) |
| void | ghostty_terminal_scroll_viewport (GhosttyTerminal terminal, GhosttyTerminalScrollViewport behavior) |
Complete terminal emulator state and rendering.
Definition in file terminal.h.