Skip to content

Commit 9c759ec

Browse files
epagedjc
authored andcommitted
refactor: Remove unused ColorableTerminal::carriage_return
1 parent 7365ab7 commit 9c759ec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/process/terminalsource.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,6 @@ impl ColorableTerminal {
185185
}
186186
}
187187

188-
pub fn carriage_return(&mut self) -> io::Result<()> {
189-
match self.inner.lock().unwrap().deref_mut() {
190-
TerminalInner::StandardStream(s, _color) => s.write(b"\r")?,
191-
#[cfg(feature = "test")]
192-
TerminalInner::TestWriter(w, _) => w.write(b"\r")?,
193-
};
194-
Ok(())
195-
}
196-
197188
pub fn is_a_tty(&self) -> bool {
198189
self.is_a_tty
199190
}

0 commit comments

Comments
 (0)