aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-26 13:34:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-07 15:24:32 +0000
commitea851962c1f4f1d30e350de3f4aa7bfbea135dcf (patch)
tree1eb812d5047d113eda7398116dfeffafdb3c9499 /terminal.h
parentsixel: don't try to emit a sixel if we're outside the image's boundaries (diff)
term: add term_put_char()
This function prints a single, non-double width, character to the grid. It handles OSC-8 hyperlinks, but does not: * update the cursor location * erase sixels
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index ec2ff963..8abc1c8e 100644
--- a/terminal.h
+++ b/terminal.h
@@ -797,6 +797,7 @@ void term_cursor_up(struct terminal *term, int count);
void term_cursor_down(struct terminal *term, int count);
void term_cursor_blink_update(struct terminal *term);
+void term_put_char(struct terminal *term, int r, int c, char32_t wc);
void term_print(struct terminal *term, char32_t wc, int width);
void term_scroll(struct terminal *term, int rows);