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
40
extern
"C"
{
41
#endif
42
58
GHOSTTY_API
bool
ghostty_paste_is_safe
(
const
char
* data,
size_t
len);
59
87
GHOSTTY_API
GhosttyResult
ghostty_paste_encode
(
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_paste_encode
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_paste_is_safe
GHOSTTY_API bool ghostty_paste_is_safe(const char *data, size_t len)
types.h
GhosttyResult
GhosttyResult
Definition
types.h:74
include
ghostty
vt
paste.h
Generated by
1.16.1