ze
Loading...
Searching...
No Matches
Functions
input.h File Reference

User input handling (prompt, cursor movement, key processing). More...

#include "ze.h"
Include dependency graph for input.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char * editorPrompt (char *prompt, void(*callback)(char *, int))
 Display a prompt and capture input with optional incremental callback.
 
void editorMoveCursor (char key)
 Move the cursor one step in the given direction, clamped to content.
 
void editorProcessKeypress (void)
 Decode a keypress and execute the corresponding editor action.
 

Detailed Description

User input handling (prompt, cursor movement, key processing).