libghostty
Loading...
Searching...
No Matches
focus.h File Reference
#include <stddef.h>
#include <ghostty/vt/types.h>

Go to the source code of this file.

Enumerations

enum  GhosttyFocusEvent { GHOSTTY_FOCUS_GAINED = 0 , GHOSTTY_FOCUS_LOST = 1 }

Functions

GhosttyResult ghostty_focus_encode (GhosttyFocusEvent event, char *buf, size_t buf_len, size_t *out_written)

Detailed Description

Focus encoding - encode focus in/out events into terminal escape sequences.

Definition in file focus.h.