https://gitlab.synchro.net/main/sbbs/-/commit/e7e0e8f59bbe3bfd68389763
Modified Files:
src/sbbs3/readmsgs.cpp
Log Message:
show_thread(): don't let a long author name wrap on narrow terminals
The width of the author name field of the thread listing (cols - column
- 12) went negative (or, as unsigned arithmetic, huge) when the indented
thread depth left fewer than 12 columns, so the name was printed
untruncated and wrapped. Clamp the width to 1 or more. The field width
dates from 91b3fd225d (2016-12-06). (#1474)
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net