Commit eb9691d3 authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Fix $COLUMNS/$LINES after resizing.

The 2 were inverted previously.
CCBUG: 245746
(cherry picked from commit c252666b)
parent 7ad880aa
......@@ -532,7 +532,7 @@ void Vt102Emulation::processToken(int token, int p, int q)
case TY_ESC_DE('8' ) : _currentScreen->helpAlign ( ); break;
// resize = \e[8;<row>;<col>t
case TY_CSI_PS('t', 8) : setImageSize( q /* columns */, p /* lines */ ); break;
case TY_CSI_PS('t', 8) : setImageSize( p /*lines */, q /* columns */ ); break;
// change tab text color : \e[28;<color>t color: 0-16,777,215
case TY_CSI_PS('t', 28) : emit changeTabTextColorRequest ( p ); break;
......
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