![]() |
libghostty
|
#include <stdbool.h>#include <stddef.h>#include <ghostty/vt/types.h>#include <ghostty/vt/io.h>#include <ghostty/vt/terminal.h>Go to the source code of this file.
Data Structures | |
| struct | GhosttyPaste |
Enumerations | |
| enum | GhosttyPasteSource { GHOSTTY_PASTE_SOURCE_CLIPBOARD = 0 , GHOSTTY_PASTE_SOURCE_TEXT = 1 , GHOSTTY_PASTE_SOURCE_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE } |
Functions | |
| GHOSTTY_API GhosttyResult | ghostty_terminal_paste (GhosttyTerminal terminal, const GhosttyPaste *paste, bool *out_written) |
| GHOSTTY_API bool | ghostty_paste_is_safe (const char *data, size_t len) |
| GHOSTTY_API GhosttyResult | ghostty_paste_encode (char *data, size_t data_len, bool bracketed, char *buf, size_t buf_len, size_t *out_written) |
Paste - paste into a terminal, and validate and encode paste data.
Definition in file paste.h.