Trim can generate strings longer than the original if there are many #s,
authornicm <nicm@openbsd.org>
Mon, 7 Aug 2023 10:04:29 +0000 (10:04 +0000)
committernicm <nicm@openbsd.org>
Mon, 7 Aug 2023 10:04:29 +0000 (10:04 +0000)
commit0803d750f43022c9ca9f8d9f977ca35128df3e37
tree42623e6237b5f88152febf08f7289306afe8202e
parent4e444e9d88e49ebe64b8a57830491ac1cf1eaa33
Trim can generate strings longer than the original if there are many #s,
so create a bigger buffer. Reported by Robert Morris.
usr.bin/tmux/format-draw.c