LF OS
Hobby operating system for amd64 with high ambitions
|
Go to the source code of this file.
Functions | |
static void | output_mouse (VTermState *state, int code, int pressed, int modifiers, int col, int row) |
void | vterm_mouse_move (VTerm *vt, int row, int col, VTermModifier mod) |
void | vterm_mouse_button (VTerm *vt, int button, bool pressed, VTermModifier mod) |
|
static |
Definition at line 5 of file mouse.c.
References C1_CSI, fill_utf8(), VTermState::mouse_protocol, state, VTermState::vt, and vterm_push_output_sprintf_ctrl().
void vterm_mouse_button | ( | VTerm * | vt, |
int | button, | ||
bool | pressed, | ||
VTermModifier | mod | ||
) |
Definition at line 73 of file mouse.c.
References VTermState::mouse_buttons, VTermState::mouse_col, VTermState::mouse_flags, VTermState::mouse_row, output_mouse(), VTerm::state, state, and vt.
void vterm_mouse_move | ( | VTerm * | vt, |
int | row, | ||
int | col, | ||
VTermModifier | mod | ||
) |
Definition at line 54 of file mouse.c.
References VTermState::mouse_buttons, VTermState::mouse_col, VTermState::mouse_flags, VTermState::mouse_row, MOUSE_WANT_DRAG, MOUSE_WANT_MOVE, output_mouse(), VTerm::state, state, and vt.