mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-15 13:00:32 -05:00
This utility function replaces C0 control characters in a given string with their corresponding symbols from the "Control Pictures" Unicode block. As of this commit nothing is using this, but in future commits we will use this when preparing terminal UI output that may contain arbitrary strings that are not subject to any other quoting/escaping to ensure that it is not possible to affect virtual terminal state in sitations where that is not intentionally allowed by OpenTofu. Signed-off-by: Martin Atkins <mart@degeneration.co.uk>