mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Fix ejabberdctl output formatting (#3979)
ECMA-48 SGR sequence ESC [21m is actually 'set double underline' but was incorrectly implemented as 'set normal intensity' in Linux prior to 4.17. The correct sequence for 'set normal intensity' is ESC [22m, which fixes output formatting of 'ejabberdctl' and 'ejabberdctl help' on macos.
This commit is contained in:
parent
cc4cacdb5e
commit
648c83ea03
@ -498,7 +498,7 @@ is_supported_args(Args) ->
|
||||
|
||||
%% Commands are Bold
|
||||
-define(B1, "\e[1m").
|
||||
-define(B2, "\e[21m").
|
||||
-define(B2, "\e[22m").
|
||||
-define(C(S), case ShCode of true -> [?B1, S, ?B2]; false -> S end).
|
||||
|
||||
%% Arguments are Dim
|
||||
|
Loading…
Reference in New Issue
Block a user