author | llornkcor <llornkcor> | 2003-03-23 14:11:45 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-03-23 14:11:45 (UTC) |
commit | 013194659dde417767c62ab2fe18b09ea21558eb (patch) (unidiff) | |
tree | d282509b6d143163857efc2504bba11606f2d44b | |
parent | b827dc4fa5b3e1758e627b40de25b68b25e912de (diff) | |
download | opie-013194659dde417767c62ab2fe18b09ea21558eb.zip opie-013194659dde417767c62ab2fe18b09ea21558eb.tar.gz opie-013194659dde417767c62ab2fe18b09ea21558eb.tar.bz2 |
workaround for column size change when reset command is executed
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 14 |
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) | |||
576 | QMessageBox(this, msg); | 576 | QMessageBox(this, msg); |
577 | return; | 577 | return; |
578 | } | 578 | } |
579 | if (se) se->setFontNo(fontno); | 579 | if (se) se->setFontNo(fontno); |
580 | te->setVTFont(f); | 580 | te->setVTFont(f); |
581 | n_font = fontno; | 581 | n_font = fontno; |
582 | } | 582 | } |
583 | */ | 583 | */ |
584 | 584 | ||
585 | // --| color selection |------------------------------------------------------- | 585 | // --| color selection |------------------------------------------------------- |
586 | 586 | ||
587 | void Konsole::changeColumns(int columns) | 587 | void Konsole::changeColumns(int columns) |
588 | { | 588 | { //FIXME this seems to cause silliness when reset command is executed |
589 | qDebug("change columns"); | 589 | // qDebug("change columns"); |
590 | TEWidget* te = getTe(); | 590 | // TEWidget* te = getTe(); |
591 | if (te != 0) { | 591 | // if (te != 0) { |
592 | setColLin(columns,te->Lines()); | 592 | // setColLin(columns,te->Lines()); |
593 | te->update(); | 593 | // te->update(); |
594 | } | 594 | // } |
595 | } | 595 | } |
596 | 596 | ||
597 | //FIXME: If a child dies during session swap, | 597 | //FIXME: If a child dies during session swap, |
598 | // this routine might be called before | 598 | // this routine might be called before |
599 | // session swap is completed. | 599 | // session swap is completed. |
600 | 600 | ||
601 | void Konsole::doneSession(TESession*, int ) | 601 | void Konsole::doneSession(TESession*, int ) |
602 | { | 602 | { |
603 | TEWidget *te = getTe(); | 603 | TEWidget *te = getTe(); |
604 | if (te != 0) { | 604 | if (te != 0) { |
605 | te->currentSession->setConnect(FALSE); | 605 | te->currentSession->setConnect(FALSE); |
606 | tab->removeTab(te); | 606 | tab->removeTab(te); |