rewriting some stuff

This commit is contained in:
2020-02-18 22:29:31 +00:00
parent 63319f3d35
commit e9fcf3842f
8 changed files with 66 additions and 0 deletions

10
kte/ark/file_buffer.c Normal file
View File

@@ -0,0 +1,10 @@
#include "defs.h"
void
init_buffer(struct buffer *buf)
{
/* put the cursor at the top of the file */
buf->curx = 0;
buf->cury = 0;
}