Re: DDMsgReader: Support for different width headers
By: VIncent Macaluso to GitLab issue in main/sbbs on Wed Mar 02 2022 11:04 am
open https://gitlab.synchro.net/main/sbbs/-/issues/359
DDMsgReader doesn't seem to support different width headers (for console widths larger than 80 columns) - could you maybe add similar functionality to bbs.menu where it will use other width if they exist (header.132col.ans for example.)
DDMsgReader already does this. This is mentioned in the readme in section 4 (Header ANSI/asc file):
Also, you can create header files for multiple terminal widths: To do so, the header filename format is enhMsgHeader-width. For example, to create a header for a 132-column terminal, the header filename would be enhMsgHeader-132.asc (or .ans). Digital Distortion Message Reader will choose the one matching the user's terminal width, if one exists. If no others are found, enhMsgHeader.asc (or .ans) will be used, if it exists. If no enhMsgHdr file exists, Digital Distortion Message Reader will use a default header (which adjusts to any terminal width).
When you say DDMsgreader doesn't seem to support different width headers, is that feature not working as expected?
Nightfox
---
þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)