BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/main.cpp terminal.cpp
De:       Deuc¨
Data:     Sat, 11 Apr 2026 23:27:08 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/f12aa2a2c854cf95ff7b6941
Modified Files:
	src/sbbs3/main.cpp terminal.cpp
Log Message:
Fix issue #1120

When you connect only with sftp, input and output for the terminal
server won't work. Make them early exit.

But the REAL problem was that cols = rows = 0...
The line wrapping was subtracting cols from column to get it below
cols... but that doesn't work when cols is zero.

Special case cols = 0 in inc_col() and rows = 0 in inc_row()
This is the bit that fixes it.
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

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