libghostty
Loading...
Searching...
No Matches
focus.h
Go to the documentation of this file.
1
6
7#ifndef GHOSTTY_VT_FOCUS_H
8#define GHOSTTY_VT_FOCUS_H
9
27
28#include <stddef.h>
29#include <ghostty/vt/types.h>
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
38typedef enum {
44
65 char* buf,
66 size_t buf_len,
67 size_t* out_written);
68
69#ifdef __cplusplus
70}
71#endif
72
74
75#endif /* GHOSTTY_VT_FOCUS_H */
GhosttyResult ghostty_focus_encode(GhosttyFocusEvent event, char *buf, size_t buf_len, size_t *out_written)
GhosttyFocusEvent
Definition focus.h:38
@ GHOSTTY_FOCUS_LOST
Definition focus.h:42
@ GHOSTTY_FOCUS_GAINED
Definition focus.h:40
GhosttyResult
Definition types.h:13