From rswindell@VERT to CVS commit on Tue Apr 28 00:12:23 2020
src/sbbs3 con_out.cpp 1.128 1.129 getstr.cpp 1.38 1.39
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27134
Modified Files:
con_out.cpp getstr.cpp
Log Message:
Fix some cosmetic issues with saveline/restoreline and its interaction with getstr's insert mode (Ctrl-V) indicator and edit/line modes. Global Hot Keys (e.g. Ctrl-T) would do weird stuff like return the cursor to the end of the line or redraw the input string multiple times.
So as part of this fix:
- backspasce() now removed the last count characters from the save-line buffer
(it is a destructive backspace afterall).
- outchar('\b') (a non-destructive backspace) adds the \b to the save-line buf - restoreline() now always redraws the current insert/overwrite indicator in
the upper right-most corner fo the screen
- insert_indicator() now uses functions that aren't line-saved.
An unrelated change included in this comment: center() now sends a CR before the cursor movement and centered-text, for times when the current column is *not* already at 0. Very useful for use with @-codes (e.g. display some pattern or "graphics" and then center some text over it).
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
Who's Online
Recent Visitors
Vintagegeek
Sun Sep 14 05:45:07 2025
from
Swarthmore, Pa
via
Telnet
Dextile
Sat Sep 13 10:34:30 2025
from
Calgary, Ab
via
Telnet
Vintagegeek
Fri Sep 12 05:39:30 2025
from
Swarthmore, Pa
via
Telnet
Dextile
Thu Sep 11 22:46:09 2025
from
Calgary, Ab
via
Telnet
System Info
Sysop:
deepend
Location:
Calgary, Alberta
Users:
278
Nodes:
10 (0
/
10)
Uptime:
15:23:53
Calls:
2,371
Calls today:
1
Files:
5,016
D/L today:
70 files
(11,017K bytes)
Messages:
429,441
Synchronet Oneliners
Vintagegeek@rdbbs Fri Aug 22 05:53:33 2025 OpenWide
Serpentchain@rdbbs Tue Sep 2 20:21:16 2025 Glowing Apple Hums,
Serpentchain@rdbbs Tue Sep 2 20:21:26 2025 Telnet Whispers Through The Night,
Serpentchain@rdbbs Tue Sep 2 20:21:35 2025 BBS Dreams In Code.
Vintagegeek@rdbbs Wed Sep 3 11:26:08 2025 Heading to Banf f f
Vintagegeek@rdbbs Wed Sep 10 08:01:00 2025 Calgary next