aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-22 22:06:11 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-22 22:06:11 +0000
commit86d640ef71938a621e08461701b20203d37ae2a9 (patch)
tree2327568744151a7d208ccf7a5b134477b33b314f /sixel.c
parentMerge branch 'sixel-graphics' (diff)
sixel: rename: purge_at_cursor() -> delete_at_cursor()
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sixel.c b/sixel.c
index 19dd6069..24477e3e 100644
--- a/sixel.c
+++ b/sixel.c
@@ -53,7 +53,7 @@ sixel_destroy(struct sixel *sixel)
}
void
-sixel_purge_at_cursor(struct terminal *term)
+sixel_delete_at_cursor(struct terminal *term)
{
const int row = term->grid->offset + term->cursor.point.row;
@@ -74,7 +74,7 @@ sixel_unhook(struct terminal *term)
free(term->sixel.palette);
term->sixel.palette = NULL;
- sixel_purge_at_cursor(term);
+ sixel_delete_at_cursor(term);
struct sixel image = {
.data = term->sixel.image.data,