Commit 363a2701 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Allow changing tab title through escape sequence

Users can now change the tab title through "\e]30;Tab Title\a" .

This is a feature previously available in KDE3 konsole.

FEATURE: 179142
FIXED-IN: 4.9.0

REVIEW: 103862
parent 84542d29
......@@ -510,9 +510,10 @@ void Session::setUserTitle(int what, const QString& caption)
if (what == SessionName) {
if (_nameTitle != caption) {
setTitle(Session::NameRole, caption);
if (_localTabTitleFormat != caption) {
_localTabTitleFormat = caption;
setTitle(Session::DisplayedTitleRole, caption);
modified = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment