aboutsummaryrefslogtreecommitdiff
path: root/grid-view.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-08 18:01:17 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-08 18:01:17 +0000
commit130b77edc737fcd113964fd77123285d78dfe3f9 (patch)
treed119ec705776456c59a00535a37448fee1cd83f5 /grid-view.c
parente09625e38b361b8ce0b8fa88851f447144f1a718 (diff)
parent05802a6fe309e3b4559286ca5ce3c51f7367d661 (diff)
downloadrtmux-130b77edc737fcd113964fd77123285d78dfe3f9.tar.gz
rtmux-130b77edc737fcd113964fd77123285d78dfe3f9.tar.bz2
rtmux-130b77edc737fcd113964fd77123285d78dfe3f9.zip
Merge branch 'obsd-master'
Diffstat (limited to 'grid-view.c')
-rw-r--r--grid-view.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/grid-view.c b/grid-view.c
index da0433bf..b84ac64e 100644
--- a/grid-view.c
+++ b/grid-view.c
@@ -45,6 +45,15 @@ grid_view_set_cell(struct grid *gd, u_int px, u_int py,
grid_set_cell(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc);
}
+/* Set cells. */
+void
+grid_view_set_cells(struct grid *gd, u_int px, u_int py,
+ const struct grid_cell *gc, const char *s, size_t slen)
+{
+ grid_set_cells(gd, grid_view_x(gd, px), grid_view_y(gd, py), gc, s,
+ slen);
+}
+
/* Clear into history. */
void
grid_view_clear_history(struct grid *gd, u_int bg)