Implement support for getting the current URL from OSC 7
Review Request #128351 - Created July 3, 2016 and submitted
|Martin Tobias Holmedahl Sandsmark|
Implements support for the OSC 7 "standard" for tracking open directories in the terminal (e. g. for bookmarks).
From the bug report, this is apparently what the osx terminal, iterm and gnome terminal uses to keep track of stuff. I kept the existing tracking as a fallback.
I don't know what actually passes this, but now konsole updates properly when I send the magic escape sequence.
more info about what this is
It does work if you use the OSC7 - however, if not, the "Start in same directory as current tab" doesn't appear to work all the time now. Example: tab#1 cd /tmp - Ctrl+Alt+T, new tab starts in ~ - appears to work afterwards.