BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/terminal.h
De:       Rob Swindell (on Windows 11)
Data:     Sun, 22 Mar 2026 19:58:15 -0700
-----------------------------------------------------------
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/
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]