libghostty
Loading...
Searching...
No Matches
osc.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <ghostty/vt/types.h>
#include <ghostty/vt/allocator.h>

Go to the source code of this file.

Enumerations

enum  GhosttyOscCommandType
enum  GhosttyOscCommandData { GHOSTTY_OSC_DATA_INVALID = 0 , GHOSTTY_OSC_DATA_CHANGE_WINDOW_TITLE_STR = 1 , GHOSTTY_OSC_DATA_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE }

Functions

GHOSTTY_API GhosttyResult ghostty_osc_new (const GhosttyAllocator *allocator, GhosttyOscParser *parser)
GHOSTTY_API void ghostty_osc_free (GhosttyOscParser parser)
GHOSTTY_API void ghostty_osc_reset (GhosttyOscParser parser)
GHOSTTY_API void ghostty_osc_next (GhosttyOscParser parser, uint8_t byte)
GHOSTTY_API GhosttyOscCommand ghostty_osc_end (GhosttyOscParser parser, uint8_t terminator)
GHOSTTY_API GhosttyOscCommandType ghostty_osc_command_type (GhosttyOscCommand command)
GHOSTTY_API bool ghostty_osc_command_data (GhosttyOscCommand command, GhosttyOscCommandData data, void *out)

Detailed Description

OSC (Operating System Command) sequence parser and command handling.

Definition in file osc.h.