[PATCH] core.loggingmanager: Add a fallback for color on legacy Windows console host
16 views
Skip to first unread message
vkvo...@vivaldi.net
unread,
Mar 13, 2023, 7:55:13 PM3/13/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proso...@googlegroups.com
Legacy console host (used in Windows 10 1511 on earlier) does not support ANSI
sequences, the only way to get 'somewhat proper' color output is to switch
console background and text colors.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prosody-dev
PSA: the patch above contains a reversed condition check I forgot to revert during debugging. Don't use one, the proper one is coming soon.
Vitaly Orekhov
unread,
Mar 14, 2023, 6:00:24 PM3/14/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prosody-dev
False positive alarm here. This patch is valid, the previous alert was about changeset to util.startup, which I luckily haven't sent that day. Sorry for inconvenience.