vip

VI Plus
git clone https://codeberg.org/night0721/vip
Log | Files | Refs | README | LICENSE

editor.h (339B)


      1 #ifndef EDITOR_H_
      2 #define EDITOR_H_
      3 
      4 void refresh_screen();
      5 void move_cursor(int key);
      6 void scroll();
      7 void insert_char(int c);
      8 void insert_new_line();
      9 void shift_new_line();
     10 void del_char();
     11 void init_editor();
     12 void open_editor(char *filename);
     13 char *prompt_editor(char *prompt, void (*callback)(char *, int));
     14 void find_editor();
     15 
     16 #endif