aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-26 08:16:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-26 08:16:09 +0000
commit44d9b7c74fc41e0f6bf47fcb94e69b8147d3fa98 (patch)
tree5cc8bbe69d71035cb846fc2030db272ddba024ac /grid.h
parentMerge branch 'url-launcher-redirect-stdout-stderr' (diff)
parenturl-mode: damage current view before entering URL mode (diff)
Merge branch 'url-mode-snapshot-screen-state'
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/grid.h b/grid.h
index 4cb339f2..1131ac46 100644
--- a/grid.h
+++ b/grid.h
@@ -4,6 +4,9 @@
#include "debug.h"
#include "terminal.h"
+struct grid *grid_snapshot(const struct grid *grid);
+void grid_free(struct grid *grid);
+
void grid_swap_row(struct grid *grid, int row_a, int row_b);
struct row *grid_row_alloc(int cols, bool initialize);
void grid_row_free(struct row *row);