diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 22:06:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-22 22:06:11 +0000 |
| commit | 86d640ef71938a621e08461701b20203d37ae2a9 (patch) | |
| tree | 2327568744151a7d208ccf7a5b134477b33b314f | |
| parent | Merge branch 'sixel-graphics' (diff) | |
sixel: rename: purge_at_cursor() -> delete_at_cursor()
| -rw-r--r-- | sixel.c | 4 | ||||
| -rw-r--r-- | sixel.h | 2 | ||||
| -rw-r--r-- | terminal.c | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -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, @@ -9,7 +9,7 @@ void sixel_put(struct terminal *term, uint8_t c); void sixel_unhook(struct terminal *term); void sixel_destroy(struct sixel *sixel); -void sixel_purge_at_cursor(struct terminal *term); +void sixel_delete_at_cursor(struct terminal *term); void sixel_colors_report_current(struct terminal *term); void sixel_colors_reset(struct terminal *term); @@ -2128,7 +2128,7 @@ term_print(struct terminal *term, wchar_t wc, int width) print_linewrap(term); print_insert(term, width); - sixel_purge_at_cursor(term); + sixel_delete_at_cursor(term); /* *Must* get current cell *after* linewrap+insert */ struct row *row = term->grid->cur_row; |
