aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-25 18:12:51 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-26 11:39:34 +0000
commit39bb6be8bfb3700947b21cbd3d466de755368b9b (patch)
tree496df5a54af0af23e9781503e3a50611ea39b6c2 /terminal.h
parentMerge branch 'cell-colors-use-index' (diff)
term_erase(): replace coord-typed arguments with regular ints
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index 09b04614..38314fa4 100644
--- a/terminal.h
+++ b/terminal.h
@@ -713,7 +713,9 @@ void term_damage_scroll(
struct scroll_region region, int lines);
void term_erase(
- struct terminal *term, const struct coord *start, const struct coord *end);
+ struct terminal *term,
+ int start_row, int start_col,
+ int end_row, int end_col);
void term_erase_scrollback(struct terminal *term);
int term_row_rel_to_abs(const struct terminal *term, int row);