X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=visor;a=blobdiff_plain;f=libvisor%2Finclude%2Fvisor.h;h=46de4d8daf50f43d026f09b4c116d02accc9a53e;hp=58b6ac4c121b274b65bb1b8874f362c655f0b3e1;hb=1c7c43c39b2b6f9224bcd39e3a24b8e91ada2cae;hpb=7357e1f153279a9d84d8671f02fa146575d4935e diff --git a/libvisor/include/visor.h b/libvisor/include/visor.h index 58b6ac4..46de4d8 100644 --- a/libvisor/include/visor.h +++ b/libvisor/include/visor.h @@ -97,6 +97,7 @@ struct vi_ttyops { void (*del_back)(void *cls); void (*del_fwd)(void *cls); void (*status)(char *s, void *cls); + void (*flush)(void *cls); }; /* Create a new instance of the visor editor. @@ -111,6 +112,9 @@ void vi_destroy(struct visor *vi); void vi_set_fileops(struct visor *vi, struct vi_fileops *fop); void vi_set_ttyops(struct visor *vi, struct vi_ttyops *tty); +void vi_term_size(struct visor *vi, int xsz, int ysz); +void vi_redraw(struct visor *vi); + /* vi_new_buf creates a new buffer and inserts it in the buffer list. If the * path pointer is null, the new buffer will be empty, otherwise it's as if it * was followed by a vi_buf_read call to read a file into the buffer.