2024-07-01 21:40:07 +02:00
|
|
|
#ifndef EDITOR_H_
|
|
|
|
#define EDITOR_H_
|
|
|
|
|
|
|
|
void insert_char(int c);
|
2024-07-03 03:41:28 +02:00
|
|
|
void insert_new_line();
|
2024-07-03 10:58:51 +02:00
|
|
|
void shift_new_line();
|
2024-07-03 03:41:28 +02:00
|
|
|
void del_char();
|
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
|