diff options
author | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2024-07-19 15:37:58 +0300 |
commit | a990de90fe41456a23e58bd087d2f107d321f3a1 (patch) | |
tree | 15afc392522a9e85dc3332235e311b7d39352ea9 /vendor/anstyle/src/reset.rs | |
parent | 3d48cd3f81164bbfc1a755dc1d4a9a02f98c8ddd (diff) | |
download | fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.tar.xz fparkan-a990de90fe41456a23e58bd087d2f107d321f3a1.zip |
Deleted vendor folder
Diffstat (limited to 'vendor/anstyle/src/reset.rs')
-rw-r--r-- | vendor/anstyle/src/reset.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/anstyle/src/reset.rs b/vendor/anstyle/src/reset.rs deleted file mode 100644 index c8c2140..0000000 --- a/vendor/anstyle/src/reset.rs +++ /dev/null @@ -1,22 +0,0 @@ -/// Reset terminal formatting -#[derive(Copy, Clone, Default, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] -pub struct Reset; - -impl Reset { - /// Render the ANSI code - #[inline] - pub fn render(self) -> impl core::fmt::Display + Copy + Clone { - ResetDisplay - } -} - -#[derive(Copy, Clone, Default, Debug)] -struct ResetDisplay; - -impl core::fmt::Display for ResetDisplay { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - RESET.fmt(f) - } -} - -pub(crate) const RESET: &str = "\x1B[0m"; |