[Konsole-devel] [Bug 271272] Tab name doesn't revert after closing mc

Jekyll Wu adaptee at gmail.com
Thu Aug 25 03:32:29 UTC 2011


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





--- Comment #5 from Jekyll Wu <adaptee gmail com>  2011-08-25 03:32:29 ---
OK, I watched that video. But I think you misunderstood something. 

Your tab title is composed of 3 parts: %d for directory, %n for process name,
and %w for window title set by escape code. In both my experiment and your
video clip, the %n part reverts from 'mc' to 'zsh' after mc exits. Yes, the %w
part still shows "mc [...]" even after another command top is executed. But
that behavior is correct: if no escape code is ever sent to clear or change
that window title, it will just stay the same . It is not konsole that is
responsible for changing the window title . Konsole just shows the window title
for %w as it is.

Try ` echo -en "\e]0;window title\a" ` in the shell, and you will understand
what I mean.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list