LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
mouse.c File Reference

(475a4fe LLVM update: finally on 18.x!)

#include "vterm_internal.h"
#include "utf8.h"
+ Include dependency graph for mouse.c:

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)
 

Function Documentation

◆ output_mouse()

static void output_mouse ( VTermState state,
int  code,
int  pressed,
int  modifiers,
int  col,
int  row 
)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vterm_mouse_button()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vterm_mouse_move()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: