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 GHOSTTY_ENUM_TYPED {
43 GHOSTTY_FOCUS_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE,
45
66 char* buf,
67 size_t buf_len,
68 size_t* out_written);
69
70#ifdef __cplusplus
71}
72#endif
73
75
76#endif /* GHOSTTY_VT_FOCUS_H */
GhosttyFocusEvent
Definition focus.h:38
GHOSTTY_API GhosttyResult ghostty_focus_encode(GhosttyFocusEvent event, char *buf, size_t buf_len, size_t *out_written)
@ GHOSTTY_FOCUS_LOST
Definition focus.h:42
@ GHOSTTY_FOCUS_GAINED
Definition focus.h:40
GhosttyResult
Definition types.h:74
#define GHOSTTY_ENUM_TYPED
Definition types.h:67