Export KONSOLE_VERSION as an environment variable

Authored by ahmadsamir on May 5 2018, 12:35 AM.

Description

Export KONSOLE_VERSION as an environment variable

Summary:
The env var is exported as a numeric string (by removing the dots from
the version string), this has the benefit of making it simpler to compare
the version in shell arithmetic expressions.

This should help programms like neovim check if konsole has support
for terminal capabilities (e.g. DECSCUSR) by using a condition that
checks the konsole version. See also:
https://github.com/neovim/neovim/issues/8300

CCBUG: 347323

Reviewers: Konsole, hindenburg

Reviewed By: Konsole, hindenburg

Subscribers: Konsole

Tags: Konsole

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

Details

Committed
hindenburgMay 5 2018, 12:38 AM
Reviewer
Konsole
Differential Revision
D12621: Export KONSOLE_VERSION as an environment variable
Parents
R319:205819713abf: Do not round up character coordinates for hotspots
Branches
Unknown
Tags
Unknown