[Konsole-devel] [Bug 227156] New tabs are sometime opened in a wrong directory
Robert Knight
robertknight at gmail.com
Sun May 30 23:24:43 UTC 2010
https://bugs.kde.org/show_bug.cgi?id=227156
Robert Knight <robertknight at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |robertknight at gmail.com
--- Comment #5 from Robert Knight <robertknight gmail com> 2010-05-31 01:24:41 ---
> I think Konsole should only update the current directory
> (used as starting point for new tabs) when a new prompt gets displayed.
The terminal has no understanding of the output of the programs running it in
so you'd need to find some suitable heuristics.
The current heuristic is very simple, whenever input is received from the user,
a timer is started which expires ~2 seconds later, at which point the current
working directory of the program which has control of the terminal is recorded.
The reason for the long timeout is to avoid the tab titles changing too
frequently (see the Mac terminal application for an example of this problem).
--
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