ze
Loading...
Searching...
No Matches
Functions | Variables
input.c File Reference

Prompt and keypress handling implementations. More...

#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "ze.h"
#include "status.h"
#include "terminal.h"
#include "render.h"
#include "edit.h"
#include "fileio.h"
#include "search.h"
#include "row.h"
#include "plugins.h"
Include dependency graph for input.c:

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.
 

Variables

struct editorConfig E
 

Detailed Description

Prompt and keypress handling implementations.