conf.uptime: Support decimal comma

So load averages also are colourised when e.g. LANG=es_ES
This commit is contained in:
Ricardo J. Barberis 2019-04-25 19:57:24 -03:00 committed by GitHub
parent 92aac170d0
commit ee07d1bd15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ regexp=\s+(\d+)\susers
colours=yellow,bold yellow
-
# load average
regexp=load average: (\d+\.\d+),\s(\d+\.\d+),\s(\d+\.\d+)
regexp=load average: (\d+[\.,]\d+),\s(\d+[\.,]\d+),\s(\d+[\.,]\d+)
colours=default,bright_cyan,cyan,dark cyan
-
# W Command section