vip/include/editor.h

17 lines
339 B
C
Raw Normal View History

2024-07-01 21:40:07 +02:00
#ifndef EDITOR_H_
#define EDITOR_H_
2024-07-04 18:00:13 +02:00
void refresh_screen();
void move_cursor(int key);
void scroll();
2024-07-01 21:40:07 +02:00
void insert_char(int c);
void insert_new_line();
void shift_new_line();
void del_char();
2024-07-04 18:00:13 +02:00
void init_editor();
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();
2024-07-01 21:40:07 +02:00
#endif