diff --git a/CHANGELOG.md b/CHANGELOG.md index f9fa2a2b..286b7836 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,11 @@ ## Unreleased ### Added +### Changed + +* Maximum window title length from 100 to 2048. + + ### Deprecated ### Removed ### Fixed diff --git a/render.c b/render.c index b71325f6..80611d22 100644 --- a/render.c +++ b/render.c @@ -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;