File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ pub mod terminfo;
74
74
mod win;
75
75
76
76
/// Alias for stdout terminals.
77
- pub type StdoutTerminal = Terminal < Output = Stdout > + Send ;
77
+ pub type StdoutTerminal = Terminal < Output = Stdout > + Send ;
78
78
/// Alias for stderr terminals.
79
- pub type StderrTerminal = Terminal < Output = Stderr > + Send ;
79
+ pub type StderrTerminal = Terminal < Output = Stderr > + Send ;
80
80
81
81
#[ cfg( not( windows) ) ]
82
82
/// 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> {
151
151
ti : TermInfo ,
152
152
}
153
153
154
- impl < T : Write + Send > Terminal for TerminfoTerminal < T > {
154
+ impl < T : Write + Send > Terminal for TerminfoTerminal < T > {
155
155
type Output = T ;
156
156
fn fg ( & mut self , color : color:: Color ) -> io:: Result < bool > {
157
157
let color = self . dim_if_necessary ( color) ;
@@ -220,7 +220,7 @@ impl<T: Write+Send> Terminal for TerminfoTerminal<T> {
220
220
}
221
221
}
222
222
223
- impl < T : Write + Send > TerminfoTerminal < T > {
223
+ impl < T : Write + Send > TerminfoTerminal < T > {
224
224
/// Create a new TerminfoTerminal with the given TermInfo and Write.
225
225
pub fn new_with_terminfo ( out : T , terminfo : TermInfo ) -> TerminfoTerminal < T > {
226
226
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 {
91
91
color | ( bits & 0x8 ) // copy the hi-intensity bit
92
92
}
93
93
94
- impl < T : Write + Send + ' static > WinConsole < T > {
94
+ impl < T : Write + Send + ' static > WinConsole < T > {
95
95
fn apply ( & mut self ) {
96
96
let _unused = self . buf . flush ( ) ;
97
97
let mut accum: WORD = 0 ;
@@ -148,7 +148,7 @@ impl<T: Write> Write for WinConsole<T> {
148
148
}
149
149
}
150
150
151
- impl < T : Write + Send + ' static > Terminal for WinConsole < T > {
151
+ impl < T : Write + Send + ' static > Terminal for WinConsole < T > {
152
152
type Output = T ;
153
153
154
154
fn fg ( & mut self , color : color:: Color ) -> io:: Result < bool > {
You can’t perform that action at this time.
0 commit comments