https://gitlab.synchro.net/main/sbbs/-/commit/7bbb461d97f0a09c8e2bda7a
Modified Files:
src/sbbs3/terminal.h
Log Message:
Terminal::center() now adheres to the P_TRUNCATE mode (when passed in)
We weren't use the other optional arguments (msg and cols), so get rid of that API contract and make a new one: the pmode flags can now (optionally) be
passed to center(), defaulting to a mode of 0. And always use bputs() instead of putmsg() for printing the string (as was always being done anyway since nothing ever passed true for the 'msg' parameter).
This fixes the issue of a msg/menu/display file that use the TRUNCATE @-code along with the CENTER @-code and got forced terminal-wrapped output anyway.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net