summaryrefslogtreecommitdiff
path: root/tests/model.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-15 12:38:43 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-15 12:38:43 +0300
commitcaf7d446446a0af0b30886a6c4ee5851aab553e2 (patch)
tree28cb796f01711d8484bc6cb3daa8e551db18fe68 /tests/model.h
parent6cd9ab6f73994b68e8453c92a014d1a372af2a24 (diff)
parent7ed78a31debb0250bae16d8b4098a4689f29bb60 (diff)
Merge branch 'wt/host-name' into api-hardening
# Conflicts: # src/screen.c
Diffstat (limited to 'tests/model.h')
-rw-r--r--tests/model.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/model.h b/tests/model.h
index 9a4316f..1707ef7 100644
--- a/tests/model.h
+++ b/tests/model.h
@@ -28,8 +28,9 @@ struct model_cell {
struct model;
-/* history is the history limit, as in term_options.scrollback. */
-struct model *model_new(struct term_vector2i size, int history);
+/* history is the history limit, as in term_options.scrollback. name is
+ * as in term_options.name. */
+struct model *model_new(struct term_vector2i size, int history, const char *name);
void model_free(struct model *m);
void model_feed(struct model *m, const char *s, size_t len, unsigned flags);
bool model_resize(struct model *m, struct term_vector2i size);