aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.rs')
-rw-r--r--src/term.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/term.rs b/src/term.rs
index 074f177..54dfa1d 100644
--- a/src/term.rs
+++ b/src/term.rs
@@ -3,12 +3,6 @@
#[derive(Default, Debug)]
pub struct ClearScreen;
-impl ClearScreen {
- pub fn new() -> Self {
- Self::default()
- }
-}
-
impl std::fmt::Display for ClearScreen {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str("\x1b[H\x1b[J")
@@ -18,12 +12,6 @@ impl std::fmt::Display for ClearScreen {
#[derive(Default, Debug)]
pub struct CRLF;
-impl CRLF {
- pub fn new() -> Self {
- Self::default()
- }
-}
-
impl std::fmt::Display for CRLF {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str("\r\n")
@@ -58,12 +46,6 @@ impl std::fmt::Display for MoveTo {
#[derive(Default, Debug)]
pub struct ClearAttrs;
-impl ClearAttrs {
- pub fn new() -> Self {
- Self::default()
- }
-}
-
impl std::fmt::Display for ClearAttrs {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.write_str("\x1b[m")