Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 866f1653 authored by deuce's avatar deuce

On second thought, don't try to emulat XTerm TAB wrap behaviour... this

is deeply impacted by the vt glitch, and I'm not dealing with that.
parent 925e011e
......@@ -4233,8 +4233,15 @@ ctputs(struct cterminal *cterm, char *buf)
break;
}
}
if(cx > TERM_MAXX)
cx = TERM_MAXX;
if(cx > TERM_MAXX || i == cterm->tab_count) {
cx = TERM_MINX;
if (cy >= TERM_MAXY) {
scrollup(cterm);
cy = TERM_MAXY;
}
else
cy++;
}
GOTOXY(cx,cy);
break;
default:
......
......@@ -39,8 +39,11 @@ Control characters:
0x09 - HT:
Moves to the next horizontal tab stop. Does not overwrite
any characters in between. If the starting position is
last column, cursor does not move.
any characters in between. If there are no tab stops left
in the line, moves to the first position of the next line.
If the starting position is on the last line, will perform
a scroll, filling the new line at bottom with the current
attribute.
0x0A - LF:
Move cursor position to same column of the next row.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment