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 2a35132c authored by deuce's avatar deuce

Fix CVT (CSI Pn Y).

parent 1a707b38
......@@ -3233,9 +3233,9 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
}
if (i == cterm->tab_count)
break;
for (k = 1; k < seq->param_int[0]; k++) {
if (cterm->tabs[k] <= TERM_MAXX)
col = cterm->tabs[k];
for (k = 0; k < seq->param_int[0] && i + k < cterm->tab_count; k++) {
if (cterm->tabs[i + k] <= TERM_MAXX)
col = cterm->tabs[i + k];
else
break;
}
......
......@@ -523,15 +523,15 @@ CSI Pn S (SU)
SOURCE: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf
CSI ? Ps1 ; Ps2 S
Query Graphics Information
CSI ? Ps1 ; Ps2 S (XTSRGA)
XTerm Set or Request Graphics Attribute
If Ps1 is 2, and Ps2 is 1, replies with the graphics screen information
in the following format: CSI ? 2 ; 0 ; Px ; Py S
Where Px is the width of the screen in pixels and Py is the height.
SOURCE: XTerm
CSI Pn T
CSI Pn T (SD)
Scroll Down
Defaults: Pn = 1
Scrolls all text on the screen down Pn lines. New lines emptied at the
......@@ -547,7 +547,7 @@ CSI U
SOURCE: BANSI.TXT
CSI Pn X
CSI Pn X (ECH)
Erase Character
Defaults: Pn = 1
Erase p1 characters starting at the current character. Will not erase
......@@ -556,7 +556,7 @@ CSI Pn X
SOURCE: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf
CSI Pn Y
CSI Pn Y (CVT)
Cursor Line Tabulation
Defaults: Pn = 1
Move the cursor to the Pn-th next tab stop.
......
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