Adding splitting screen and buffer switching

This commit is contained in:
Arthur Barraux
2026-01-24 19:29:46 +01:00
parent b039cf3ded
commit 5a7b073041
22 changed files with 1171 additions and 384 deletions
+9 -9
View File
@@ -8,22 +8,22 @@
#include <time.h>
#include <unistd.h>
int editorRowCxToRx(erow *row, int cursor_x);
int bufferRowCxToRx(frow *row, int cursor_x);
int editorRowRxToCx(erow *row, int rx);
int bufferRowRxToCx(frow *row, int rx);
void editorUpdateRow(erow *row);
void bufferUpdatfrow(frow *row);
void editorInsertRow(int at, char *s, size_t len);
void bufferInsertRow(struct buffer_t *buffer, int at, char *s, size_t len);
void editorFreeRow(erow *row);
void bufferFrefrow(frow *row);
void editorDelRow(int at);
void bufferDelRow(struct buffer_t *buffer, int at);
void editorRowInsertChar(erow *row, int at, int c);
void bufferRowInsertChar(struct buffer_t *buffer, frow *row, int at, int c);
void editorRowAppendString(erow *row, char *s, size_t len);
void bufferRowAppendString(struct buffer_t *buffer, frow *row, char *s, size_t len);
void editorRowDelchar(erow *row, int at);
void bufferRowDelchar(struct buffer_t *buffer, frow *row, int at);
#endif // ROW_OP_H_