File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ pub mod terminfo;
7474mod win;
7575
7676/// Alias for stdout terminals.
77- pub type StdoutTerminal = Terminal < Output = Stdout > + Send ;
77+ pub type StdoutTerminal = Terminal < Output = Stdout > + Send ;
7878/// Alias for stderr terminals.
79- pub type StderrTerminal = Terminal < Output = Stderr > + Send ;
79+ pub type StderrTerminal = Terminal < Output = Stderr > + Send ;
8080
8181#[ cfg( not( windows) ) ]
8282/// Return a Terminal wrapping stdout, or None if a terminal couldn't be
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ pub struct TerminfoTerminal<T> {
151151 ti : TermInfo ,
152152}
153153
154- impl < T : Write + Send > Terminal for TerminfoTerminal < T > {
154+ impl < T : Write + Send > Terminal for TerminfoTerminal < T > {
155155 type Output = T ;
156156 fn fg ( & mut self , color : color:: Color ) -> io:: Result < bool > {
157157 let color = self . dim_if_necessary ( color) ;
@@ -220,7 +220,7 @@ impl<T: Write+Send> Terminal for TerminfoTerminal<T> {
220220 }
221221}
222222
223- impl < T : Write + Send > TerminfoTerminal < T > {
223+ impl < T : Write + Send > TerminfoTerminal < T > {
224224 /// Create a new TerminfoTerminal with the given TermInfo and Write.
225225 pub fn new_with_terminfo ( out : T , terminfo : TermInfo ) -> TerminfoTerminal < T > {
226226 let nc = if terminfo. strings . contains_key ( "setaf" ) &&
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ fn bits_to_color(bits: u16) -> color::Color {
9191 color | ( bits & 0x8 ) // copy the hi-intensity bit
9292}
9393
94- impl < T : Write + Send + ' static > WinConsole < T > {
94+ impl < T : Write + Send + ' static > WinConsole < T > {
9595 fn apply ( & mut self ) {
9696 let _unused = self . buf . flush ( ) ;
9797 let mut accum: WORD = 0 ;
@@ -148,7 +148,7 @@ impl<T: Write> Write for WinConsole<T> {
148148 }
149149}
150150
151- impl < T : Write + Send + ' static > Terminal for WinConsole < T > {
151+ impl < T : Write + Send + ' static > Terminal for WinConsole < T > {
152152 type Output = T ;
153153
154154 fn fg ( & mut self , color : color:: Color ) -> io:: Result < bool > {
You can’t perform that action at this time.
0 commit comments