vip/include/editor.h

17 lines
367 B
C
Raw Normal View History

2024-07-01 21:40:07 +02:00
#ifndef EDITOR_H_
#define EDITOR_H_
void refresh_screen(void);
2024-07-04 18:00:13 +02:00
void move_cursor(int key);
void scroll(void);
2024-07-01 21:40:07 +02:00
void insert_char(int c);
void insert_new_line(void);
void shift_new_line(void);
void del_char(void);
void init_editor(void);
2024-07-03 12:11:48 +02:00
void open_editor(char *filename);
char *prompt_editor(char *prompt, void (*callback)(char *, int));
void find_editor(void);
2024-07-01 21:40:07 +02:00
#endif