summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-03-23 14:11:45 (UTC)
committer llornkcor <llornkcor>2003-03-23 14:11:45 (UTC)
commit013194659dde417767c62ab2fe18b09ea21558eb (patch) (side-by-side diff)
treed282509b6d143163857efc2504bba11606f2d44b
parentb827dc4fa5b3e1758e627b40de25b68b25e912de (diff)
downloadopie-013194659dde417767c62ab2fe18b09ea21558eb.zip
opie-013194659dde417767c62ab2fe18b09ea21558eb.tar.gz
opie-013194659dde417767c62ab2fe18b09ea21558eb.tar.bz2
workaround for column size change when reset command is executed
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index eda3135..9c1167b 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -576,31 +576,31 @@ void Konsole::setFont(int fontno)
QMessageBox(this, msg);
return;
}
if (se) se->setFontNo(fontno);
te->setVTFont(f);
n_font = fontno;
}
*/
// --| color selection |-------------------------------------------------------
void Konsole::changeColumns(int columns)
-{
- qDebug("change columns");
- TEWidget* te = getTe();
- if (te != 0) {
- setColLin(columns,te->Lines());
- te->update();
- }
+{ //FIXME this seems to cause silliness when reset command is executed
+// qDebug("change columns");
+// TEWidget* te = getTe();
+// if (te != 0) {
+// setColLin(columns,te->Lines());
+// te->update();
+// }
}
//FIXME: If a child dies during session swap,
// this routine might be called before
// session swap is completed.
void Konsole::doneSession(TESession*, int )
{
TEWidget *te = getTe();
if (te != 0) {
te->currentSession->setConnect(FALSE);
tab->removeTab(te);