Commit b8effe25 authored by Adriaan de Groot's avatar Adriaan de Groot 💬 Committed by Kurt Hindenburg
Browse files

Improve comments explaining the CSI 8 ; t (resize text window) command.

parent 1a93b090
Pipeline #90060 passed with stage
in 1 minute and 53 seconds
......@@ -670,9 +670,9 @@ void Vt102Emulation::processToken(int token, int p, int q)
break;
case token_esc_de('8' ) : _currentScreen->helpAlign ( ); break;
// resize = \e[8;<row>;<col>t
case token_csi_ps('t', 8) : setImageSize( p /*lines */, q /* columns */ );
Q_EMIT imageResizeRequest(QSize(q, p));
// resize = \e[8;<rows>;<cols>t
case token_csi_ps('t', 8) : setImageSize( p /* rows */, q /* columns */ );
Q_EMIT imageResizeRequest(QSize(q, p)); // Note columns (x), rows (y) in QSize
break;
// change tab text color : \e[28;<color>t color: 0-16,777,215
......
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