ze
Loading...
Searching...
No Matches
render.h
Go to the documentation of this file.
1
8#pragma once
9
10#include "ze.h"
11#include "buffer.h"
12
13void editorScroll(void);
14void editorDrawRows(struct abuf *ab);
15void editorDrawStatusBar(struct abuf *ab);
16void editorDrawMessageBar(struct abuf *ab);
17void editorRefreshScreen(void);
18
Simple append-only string buffer used for terminal drawing.
void editorDrawMessageBar(struct abuf *ab)
Render the transient message bar.
Definition render.c:163
void editorDrawStatusBar(struct abuf *ab)
Draw the status bar (filename, ft, position).
Definition render.c:132
void editorDrawRows(struct abuf *ab)
Render visible rows to the append buffer.
Definition render.c:57
void editorScroll(void)
Recompute scroll offsets to keep the cursor visible.
Definition render.c:28
void editorRefreshScreen(void)
Update viewport offsets to keep the cursor visible.
Definition render.c:182
Definition buffer.h:14
Core editor types, macros, and global state.