https://bugs.kde.org/show_bug.cgi?id=411965

--- Comment #6 from Guo Yunhe <i...@guoyunhe.me> ---
And I already find a fix:

Change:

qobject_cast<TerminalInterface *>(m_konsolePart)->showShellInDir(m_directory);

to:

qobject_cast<TerminalInterface *>(m_konsolePart)->sendInput(QStringLiteral(" cd
") + KShell::quoteArg(m_directory) + QStringLiteral(" && clear\n"));

Work in the same way.

KonsolePart might need a fix, too. Because showShellInDir() is a very normal
function call and shouldn't cause rendering issues.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to