Support displaying the version number in the status bar; Implements #2959 (#3747)

This commit is contained in:
zah 2022-06-14 14:53:58 +03:00 committed by GitHub
parent 099709872e
commit 0bfe7b10bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -1568,6 +1568,12 @@ when not defined(windows):
# The status bar feature would allow the user to specify an
# arbitrary expression that is resolvable through this API.
case expr.toLowerAscii
of "version":
versionAsStr
of "full_version":
fullVersionStr
of "connected_peers":
$(node.connectedPeersCount)