diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-22 19:07:57 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-22 19:07:57 +0000 |
| commit | 3869c7299fae34464317ebb71566859608e2c1cf (patch) | |
| tree | 7548e6213a232bca0352b9162b7b8c30c9d4ae81 /render.c | |
| parent | changelog: add new 'unreleased' section (diff) | |
render: bump maximum window title length from 100 to 2048 (bytes)
Apparently, the max is ~8K, but lets stay on the safe side.
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1660,8 +1660,7 @@ render_search_box(struct terminal *term) static void render_update_title(struct terminal *term) { - /* TODO: figure out what the limit actually is */ - static const size_t max_len = 100; + static const size_t max_len = 2048; const char *title = term->window_title != NULL ? term->window_title : "foot"; char *copy = NULL; |
