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.
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)