Let /debug [N] support outbound and inbound colors - 04/01/18 12:21 AM
/debug [-cinpt] [N] [on | off | @window | filename] [identifier]
/debug N @moo, uses color N for messages
Let [N] support [N,M] or [N [M]], where M specifies a different color for outgoing messages from incoming messages. If M is not specified, then all messages are the same color as they are now.
/debug -p 1,4 @debug
Displays incoming messages in black, and outgoing messages in red.
This behavior cannot be replicated in script, given that control codes do not render in a debug output, but instead display printed glyphs for the control characters.
-
Alternately: Some way for a /debug -i $identifier() to return a value that defines that line's color, which can allow greater flexibility for highlighting and debugging errors.
/debug N @moo, uses color N for messages
Let [N] support [N,M] or [N [M]], where M specifies a different color for outgoing messages from incoming messages. If M is not specified, then all messages are the same color as they are now.
/debug -p 1,4 @debug
Displays incoming messages in black, and outgoing messages in red.
This behavior cannot be replicated in script, given that control codes do not render in a debug output, but instead display printed glyphs for the control characters.
-
Alternately: Some way for a /debug -i $identifier() to return a value that defines that line's color, which can allow greater flexibility for highlighting and debugging errors.