author | llornkcor <llornkcor> | 2003-03-23 14:11:45 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-03-23 14:11:45 (UTC) |
commit | 013194659dde417767c62ab2fe18b09ea21558eb (patch) (side-by-side diff) | |
tree | d282509b6d143163857efc2504bba11606f2d44b /core/apps/embeddedkonsole/konsole.cpp | |
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
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.cpp') (more/less context) (ignore whitespace changes)
-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 @@ -564,55 +564,55 @@ void Konsole::setFont(int fontno) f = defaultFont = QFont( "Helvetica", 12 ); else if (fonts[fontno][0] == '-') f.setRawName( fonts[fontno] ); else { f.setFamily(fonts[fontno]); f.setRawMode( TRUE ); } if ( !f.exactMatch() && fontno != 0) { QString msg = i18n("Font `%1' not found.\nCheck README.linux.console for help.").arg(fonts[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); delete te->currentSession; delete te; nsessions--; } if (nsessions == 0) { close(); } } void Konsole::newSession() { if(nsessions < 15) { // seems to be something weird about 16 tabs on the Zaurus.... memory? |