summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <kurt.hindenburg@gmail.com>2011-07-19 02:39:03 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2011-08-25 13:30:27 (GMT)
commiteb9691d3f6a324c1801531ff2d3960b3656665fb (patch)
tree328d678fda2f06c55a244b2e75d803cb8a6fdacb
parent7ad880aad29694e7f69c8e868155c3d92f89bf49 (diff)
Fix $COLUMNS/$LINES after resizing.
The 2 were inverted previously. CCBUG: 245746 (cherry picked from commit c252666b98b405a54f0551c5a6632daea29ad230)
-rw-r--r--src/Vt102Emulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Vt102Emulation.cpp b/src/Vt102Emulation.cpp
index 6607266..ce3816c 100644
--- a/src/Vt102Emulation.cpp
+++ b/src/Vt102Emulation.cpp
@@ -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;