7#ifndef GHOSTTY_VT_TERMINAL_H
8#define GHOSTTY_VT_TERMINAL_H
struct GhosttyTerminal * GhosttyTerminal
GhosttyTerminalScrollViewportTag
GhosttyResult ghostty_terminal_new(const GhosttyAllocator *allocator, GhosttyTerminal *terminal, GhosttyTerminalOptions options)
void ghostty_terminal_scroll_viewport(GhosttyTerminal terminal, GhosttyTerminalScrollViewport behavior)
GhosttyResult ghostty_terminal_resize(GhosttyTerminal terminal, uint16_t cols, uint16_t rows)
void ghostty_terminal_reset(GhosttyTerminal terminal)
void ghostty_terminal_vt_write(GhosttyTerminal terminal, const uint8_t *data, size_t len)
void ghostty_terminal_free(GhosttyTerminal terminal)
@ GHOSTTY_SCROLL_VIEWPORT_BOTTOM
@ GHOSTTY_SCROLL_VIEWPORT_DELTA
@ GHOSTTY_SCROLL_VIEWPORT_TOP