libghostty
Loading...
Searching...
No Matches
paste.h
Go to the documentation of this file.
1
6
7#ifndef GHOSTTY_VT_PASTE_H
8#define GHOSTTY_VT_PASTE_H
9
34
35#include <stdbool.h>
36#include <stddef.h>
37#include <ghostty/vt/types.h>
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
58GHOSTTY_API bool ghostty_paste_is_safe(const char* data, size_t len);
59
88 char* data,
89 size_t data_len,
90 bool bracketed,
91 char* buf,
92 size_t buf_len,
93 size_t* out_written);
94
95#ifdef __cplusplus
96}
97#endif
98
100
101#endif /* GHOSTTY_VT_PASTE_H */
GHOSTTY_API GhosttyResult ghostty_paste_encode(char *data, size_t data_len, bool bracketed, char *buf, size_t buf_len, size_t *out_written)
GHOSTTY_API bool ghostty_paste_is_safe(const char *data, size_t len)
GhosttyResult
Definition types.h:74