We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7365ab7 commit 9c759ecCopy full SHA for 9c759ec
src/process/terminalsource.rs
@@ -185,15 +185,6 @@ impl ColorableTerminal {
185
}
186
187
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
-
197
pub fn is_a_tty(&self) -> bool {
198
self.is_a_tty
199
0 commit comments