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
32
extern
"C"
{
33
#endif
34
38
typedef
enum
{
40
GHOSTTY_FOCUS_GAINED
= 0,
42
GHOSTTY_FOCUS_LOST
= 1,
43
}
GhosttyFocusEvent
;
44
63
GhosttyResult
ghostty_focus_encode
(
64
GhosttyFocusEvent
event,
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 */
ghostty_focus_encode
GhosttyResult ghostty_focus_encode(GhosttyFocusEvent event, char *buf, size_t buf_len, size_t *out_written)
GhosttyFocusEvent
GhosttyFocusEvent
Definition
focus.h:38
GHOSTTY_FOCUS_LOST
@ GHOSTTY_FOCUS_LOST
Definition
focus.h:42
GHOSTTY_FOCUS_GAINED
@ GHOSTTY_FOCUS_GAINED
Definition
focus.h:40
types.h
GhosttyResult
GhosttyResult
Definition
types.h:13
include
ghostty
vt
focus.h
Generated by
1.16.1