• src/sbbs3/ansiterm.cpp atcodes.cpp con_out.cpp exec.cpp js_console.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Oct 22 17:19:11 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/e4cdd4ac4389a69f36fdf770
    Modified Files:
    src/sbbs3/ansiterm.cpp atcodes.cpp con_out.cpp exec.cpp js_console.cpp prntfile.cpp sbbs.h useredit.cpp
    Log Message:
    Rename sbbs_t::ansi_getlines() to ansi_getdims(), add sbbs_t::getdimensions()

    Add JS console.ansi_getdims()

    Use sbbs_t::getdimensions() or JS console.getdimensions() to move user cols/rows values to run-time console values (querying ANSI terminal if appropriate/supported).

    JS console.pushxy(), popxy(), and gotoxy() all return Boolean now.

    sbbs_t::getdimensions() and its JS wrapper is now the proper way to propagate user's cols/rows settings to the run-time console values. This was done (post-login) only via use of the TERMROWS and TERMCOLS @-codes in user_settings.js. Weird.

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