Show valid subprocess CWD for %D tab title format

Authored by mglb on Dec 30 2018, 10:45 PM.

Description

Show valid subprocess CWD for %D tab title format

Summary:
%D did work only with main process - for every subprocess it just
displayed "-". With the patch "-" is displayed only in processes for
which CWD can't be read (e.g. root processes).

Test Plan:

  • Use %D in tab title format
  • Run vim
  • (optionally) run :cd /usr in vim

Actual result: "-" is shown in the title instead of %D
Expected result: valid CWD is shown in the title instead of %D

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D17865

Details

Committed
hindenburgDec 30 2018, 10:59 PM
Reviewer
Konsole
Differential Revision
D17865: Show valid subprocess CWD for %D tab title format
Parents
R319:80b09936a438: Add some basic checks for invalid values
Branches
Unknown
Tags
Unknown