ze
Loading...
Searching...
No Matches
include
input.h
Go to the documentation of this file.
1
8
#pragma once
9
10
#include "
ze.h
"
11
17
char
*
editorPrompt
(
char
*prompt,
void
(*callback)(
char
*,
int
));
18
19
void
editorMoveCursor
(
char
key);
20
21
void
editorProcessKeypress
(
void
);
22
editorPrompt
char * editorPrompt(char *prompt, void(*callback)(char *, int))
Display a prompt and capture input with optional incremental callback.
Definition
input.c:38
editorProcessKeypress
void editorProcessKeypress(void)
Decode a keypress and execute the corresponding editor action.
Definition
input.c:127
editorMoveCursor
void editorMoveCursor(char key)
Move the cursor one step in the given direction, clamped to content.
Definition
input.c:85
ze.h
Core editor types, macros, and global state.
Generated by
1.9.8