diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp --- a/src/panels/terminal/terminalpanel.cpp +++ b/src/panels/terminal/terminalpanel.cpp @@ -223,6 +223,7 @@ #endif m_terminal->sendInput(" cd " + KShell::quoteArg(dir) + '\n'); + m_terminal->sendInput("clear\n"); // We want to ignore the currentDirectoryChanged(QString) signal, which we will receive after // the directory change, because this directory change is not caused by a "cd" command that the