7#ifndef GHOSTTY_VT_OSC_H
8#define GHOSTTY_VT_OSC_H
63 GHOSTTY_OSC_COMMAND_INVALID = 0,
64 GHOSTTY_OSC_COMMAND_CHANGE_WINDOW_TITLE = 1,
65 GHOSTTY_OSC_COMMAND_CHANGE_WINDOW_ICON = 2,
66 GHOSTTY_OSC_COMMAND_PROMPT_START = 3,
67 GHOSTTY_OSC_COMMAND_PROMPT_END = 4,
68 GHOSTTY_OSC_COMMAND_END_OF_INPUT = 5,
69 GHOSTTY_OSC_COMMAND_END_OF_COMMAND = 6,
70 GHOSTTY_OSC_COMMAND_CLIPBOARD_CONTENTS = 7,
71 GHOSTTY_OSC_COMMAND_REPORT_PWD = 8,
72 GHOSTTY_OSC_COMMAND_MOUSE_SHAPE = 9,
73 GHOSTTY_OSC_COMMAND_COLOR_OPERATION = 10,
74 GHOSTTY_OSC_COMMAND_KITTY_COLOR_PROTOCOL = 11,
75 GHOSTTY_OSC_COMMAND_SHOW_DESKTOP_NOTIFICATION = 12,
76 GHOSTTY_OSC_COMMAND_HYPERLINK_START = 13,
77 GHOSTTY_OSC_COMMAND_HYPERLINK_END = 14,
78 GHOSTTY_OSC_COMMAND_CONEMU_SLEEP = 15,
79 GHOSTTY_OSC_COMMAND_CONEMU_SHOW_MESSAGE_BOX = 16,
80 GHOSTTY_OSC_COMMAND_CONEMU_CHANGE_TAB_TITLE = 17,
81 GHOSTTY_OSC_COMMAND_CONEMU_PROGRESS_REPORT = 18,
82 GHOSTTY_OSC_COMMAND_CONEMU_WAIT_INPUT = 19,
83 GHOSTTY_OSC_COMMAND_CONEMU_GUIMACRO = 20,
GhosttyOscCommandType ghostty_osc_command_type(GhosttyOscCommand command)
struct GhosttyOscCommand * GhosttyOscCommand
struct GhosttyOscParser * GhosttyOscParser
bool ghostty_osc_command_data(GhosttyOscCommand command, GhosttyOscCommandData data, void *out)
void ghostty_osc_reset(GhosttyOscParser parser)
void ghostty_osc_next(GhosttyOscParser parser, uint8_t byte)
GhosttyOscCommand ghostty_osc_end(GhosttyOscParser parser, uint8_t terminator)
void ghostty_osc_free(GhosttyOscParser parser)
GhosttyResult ghostty_osc_new(const GhosttyAllocator *allocator, GhosttyOscParser *parser)
@ GHOSTTY_OSC_DATA_INVALID
@ GHOSTTY_OSC_DATA_CHANGE_WINDOW_TITLE_STR