vip/include/editor.h
2024-07-04 17:00:13 +01:00

16 lines
339 B
C

#ifndef EDITOR_H_
#define EDITOR_H_
void refresh_screen();
void move_cursor(int key);
void scroll();
void insert_char(int c);
void insert_new_line();
void shift_new_line();
void del_char();
void init_editor();
void open_editor(char *filename);
char *prompt_editor(char *prompt, void (*callback)(char *, int));
void find_editor();
#endif