MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / UpdatePointerPosition

Function UpdatePointerPosition

src/Window_Terminal.c:310–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310static void UpdatePointerPosition(char* tok) {
311 int x, y;
312 tok = strtok(NULL, ";");
313 x = atoi(tok);
314 tok = strtok(NULL, ";");
315 y = atoi(tok) * CHARS_PER_CELL;
316
317 SetMousePosition(x, y);
318}
319
320static void ProcessMouse(char* buf, int n) {
321 char cpy[256 + 2];

Callers 1

ProcessMouseFunction · 0.85

Calls 1

SetMousePositionFunction · 0.85

Tested by

no test coverage detected