diff options
| author | Berke Güzel <wenekar1@gmail.com> | 2026-10-15 12:38:43 +0300 |
|---|---|---|
| committer | Berke Güzel <wenekar1@gmail.com> | 2026-10-15 12:38:43 +0300 |
| commit | caf7d446446a0af0b30886a6c4ee5851aab553e2 (patch) | |
| tree | 28cb796f01711d8484bc6cb3daa8e551db18fe68 /tests/model.h | |
| parent | 6cd9ab6f73994b68e8453c92a014d1a372af2a24 (diff) | |
| parent | 7ed78a31debb0250bae16d8b4098a4689f29bb60 (diff) | |
Merge branch 'wt/host-name' into api-hardening
# Conflicts:
# src/screen.c
Diffstat (limited to 'tests/model.h')
| -rw-r--r-- | tests/model.h | 5 |
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); |
