![]() |
libghostty
|
#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 | GhosttyOscTerminator { GHOSTTY_OSC_TERMINATOR_ST = 0 , GHOSTTY_OSC_TERMINATOR_BEL = 1 , GHOSTTY_OSC_TERMINATOR_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE } |
| enum | GhosttyOscOption { GHOSTTY_OSC_OPT_UNKNOWN_MAX_BYTES = 0 , GHOSTTY_OSC_OPT_MAX_VALUE = GHOSTTY_ENUM_MAX_VALUE } |
| enum | GhosttyOscCommandData { GHOSTTY_OSC_DATA_INVALID = 0 , GHOSTTY_OSC_DATA_CHANGE_WINDOW_TITLE_STR = 1 , GHOSTTY_OSC_DATA_UNKNOWN_CONTENT = 2 , GHOSTTY_OSC_DATA_UNKNOWN_TRUNCATED = 3 , GHOSTTY_OSC_DATA_UNKNOWN_TERMINATOR = 4 , 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 GhosttyResult | ghostty_osc_set (GhosttyOscParser parser, GhosttyOscOption option, const void *value) |
| 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) |
OSC (Operating System Command) sequence parser and command handling.
Definition in file osc.h.