Home
last modified time | relevance | path

Searched refs:VTermState (Results 1 – 6 of 6) sorted by relevance

/external/libvterm/include/
Dvterm.h15 typedef struct VTermState VTermState; typedef
364 VTermState *vterm_obtain_state(VTerm *vt);
366 void vterm_state_set_callbacks(VTermState *state, const VTermStateCallbacks *callbacks, void *user…
367 void *vterm_state_get_cbdata(VTermState *state);
370 void vterm_state_set_unrecognised_fallbacks(VTermState *state, const VTermParserCallbacks *fallbac…
371 void *vterm_state_get_unrecognised_fbdata(VTermState *state);
373 void vterm_state_reset(VTermState *state, int hard);
374 void vterm_state_get_cursorpos(const VTermState *state, VTermPos *cursorpos);
375 void vterm_state_get_default_colors(const VTermState *state, VTermColor *default_fg, VTermColor *de…
376 void vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col);
[all …]
/external/libvterm/src/
Dpen.c53 static bool lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) in lookup_colour_ansi()
63 static bool lookup_colour_palette(const VTermState *state, long index, VTermColor *col) in lookup_colour_palette()
91 static int lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTe… in lookup_colour()
119 static void setpenattr(VTermState *state, VTermAttr attr, VTermValueType type, VTermValue *val) in setpenattr()
132 static void setpenattr_bool(VTermState *state, VTermAttr attr, int boolean) in setpenattr_bool()
138 static void setpenattr_int(VTermState *state, VTermAttr attr, int number) in setpenattr_int()
144 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color) in setpenattr_col()
150 static void set_pen_col_ansi(VTermState *state, VTermAttr attr, long col) in set_pen_col_ansi()
159 INTERNAL void vterm_state_newpen(VTermState *state) in vterm_state_newpen()
170 INTERNAL void vterm_state_resetpen(VTermState *state) in vterm_state_resetpen()
[all …]
Dvterm_internal.h49 struct VTermState struct
197 VTermState *state;
222 void vterm_state_free(VTermState *state);
224 void vterm_state_newpen(VTermState *state);
225 void vterm_state_resetpen(VTermState *state);
226 void vterm_state_setpen(VTermState *state, const long args[], int argcount);
227 int vterm_state_getpen(VTermState *state, long args[], int argcount);
228 void vterm_state_savepen(VTermState *state, int save);
237 void vterm_state_push_output_sprintf_CSI(VTermState *vts, const char *format, ...);
Dstate.c14 static void putglyph(VTermState *state, const uint32_t chars[], int width, VTermPos pos) in putglyph()
31 static void updatecursor(VTermState *state, VTermPos *oldpos, int cancel_phantom) in updatecursor()
44 static void erase(VTermState *state, VTermRect rect, int selective) in erase()
51 static VTermState *vterm_state_new(VTerm *vt) in vterm_state_new()
53 VTermState *state = vterm_allocator_malloc(vt, sizeof(VTermState)); in vterm_state_new()
76 INTERNAL void vterm_state_free(VTermState *state) in vterm_state_free()
84 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) in scroll()
124 static void linefeed(VTermState *state) in linefeed()
140 static void grow_combine_buffer(VTermState *state) in grow_combine_buffer()
153 static void set_col_tabstop(VTermState *state, int col) in set_col_tabstop()
[all …]
Dmouse.c5 static void output_mouse(VTermState *state, int code, int pressed, int modifiers, int col, int row) in output_mouse()
56 VTermState *state = vt->state; in vterm_mouse_move()
75 VTermState *state = vt->state; in vterm_mouse_button()
Dscreen.c44 VTermState *state;
624 VTermState *state = vterm_obtain_state(vt); in screen_new()