summaryrefslogtreecommitdiff
path: root/vendor/anstyle/src/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/anstyle/src/macros.rs')
-rw-r--r--vendor/anstyle/src/macros.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/anstyle/src/macros.rs b/vendor/anstyle/src/macros.rs
new file mode 100644
index 0000000..f19666e
--- /dev/null
+++ b/vendor/anstyle/src/macros.rs
@@ -0,0 +1,5 @@
+macro_rules! escape {
+ ($($inner:expr),*) => {
+ concat!("\x1B[", $($inner),*, "m")
+ };
+}