• src/sbbs3/js_console.cpp

    From rswindell@VERT to CVS commit on Friday, July 26, 2019 15:28:49
    src/sbbs3 js_console.cpp 1.132 1.133
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv8545

    Modified Files:
    js_console.cpp
    Log Message:
    Added support to console.print() for an optional P_* mode argument. Must
    be called as console.print(string, number), the number will be interpretted
    as the P_* mode flags value. Otherwise, all arguments are converted to strings and printed (as before).
    If anyone was calling console.print(string, number), they will get different behavior now. I couldn't find any evidence of anyone using this syntax for console.print(), so I think this should be okay.
    Only a limited set of P_* flags are supported (e.g. P_PETSCII, P_UTF8) - far fewer than console.putmsg(), but console.putmsg() is much more heavy weight
    and supports a lot more "features" likely to interfere with the expected user output. In general, try to use console.putmsg() only when printing multi-line text strings or when @-code expansion is needed. Otherwise, console.print()
    is usually better.



    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Friday, February 16, 2024 18:17:02
    https://gitlab.synchro.net/main/sbbs/-/commit/862753d6c8fca2a71d1d000a
    Modified Files:
    src/sbbs3/js_console.cpp
    Log Message:
    New console property: unicode_zerowidth (either 0 or 1)

    The column-width of UNICODE 'zero-width' character is now autodetected. This property allows one to use/change this autodetected width (normally 0 or 1).

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net