• src/sbbs3/terminal.h

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Sun Mar 22 19:58:15 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/66152ce84afaa28f0f701a06
    Modified Files:
    src/sbbs3/terminal.h
    Log Message:
    Implement cleartoeol() in base (dumb) terminal implementation

    At the point that finduserstr(0, USER_IPADDR, client_ipaddr) is called from answer(), the terminal object is still the base/dumb terminal object, which
    did not have "clear to end of line" implemented, so the default SearchedForDupes string (which uses Ctrl-A> to clear to EOL) did not work. Another regression from the New Terminal Abstraction.

    This might be "off-by-one" and force a terminal wrap when writing to the last column, but I didn't observe that happen with SyncTERM.

    This fixes the "[ Searching for duplicates ... xxx% ]" text left on the screen before the login prompt when "Auto-login via IP" is enabled, as observed at
    http://themegabbs.ddns.net:2000/
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)