https://gitlab.synchro.net/main/sbbs/-/commit/7b364498509cf76678ef70fe
Modified Files:
exec/load/shell_lib.js
Log Message:
shell_lib.js: size area list columns to narrow terminals (#1474)
Below 80 columns, the message group/sub-board and file library/directory
lists still reserved the stock formats' 11-column count field, leaving
little room for descriptions, and their headers (padded to 79 columns)
wrapped so the count column titles didn't line up with the counts.
On a terminal narrower than 80 columns, with the stock %-60.60s
description field:
- the count field is only as wide as the list's largest count
- the description fills the line to the column before the last, where
the line can't wrap on a terminal that wraps immediately (e.g. C64)
- the header's count column title (Sub-boards, Msgs, Directories,
Files) is right-aligned over the counts, on its own line when it
doesn't fit beside the title
At 80 columns or wider nothing changes, and a customized item format
without the %-60.60s field keeps its own field widths.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net