processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/en/ejabberd/
Other
6.06k stars 1.51k forks source link

Fix ejabberdctl output formatting #3979

Closed nosnilmot closed 1 year ago

nosnilmot commented 1 year ago

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.

coveralls commented 1 year ago

Coverage Status

Coverage: 33.158%. Remained the same when pulling 4ebc53cc80f8f80539687e480ff778af0f82e11d on nosnilmot:fix-ejabberdctl-formatting into cc4cacdb5e4357d44c63df5a0277bf951879478d on processone:master.