aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-03 20:30:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-03 20:30:00 +0000
commit9f12bca21e021d4640e1d8a8709fe8a65cb2c876 (patch)
treef597eff1e1f15317ab156a34fc897f7dd6d303c8 /grid.h
parentvt: only prep logging of CSI/ESC parameters when debug logging is enabled (diff)
parentcsi: fix bug: cursor horizontal absolute (<ESC> Pn G) was off-by-one (diff)
Merge branch 'fast-scroll'
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/grid.h b/grid.h
index 580ef343..59d9e58b 100644
--- a/grid.h
+++ b/grid.h
@@ -1,3 +1,8 @@
#pragma once
+#include <stddef.h>
#include "terminal.h"
+
+struct cell *grid_get_range(struct grid *grid, int start, int *length);
+void grid_memset(struct grid *grid, int start, int c, int length);
+void grid_memmove(struct grid *grid, int dst, int src, int length);