changes
This commit is contained in:
parent
c9c0a4efac
commit
a98a13b7de
@ -56,7 +56,7 @@ impl Screen
|
|||||||
{
|
{
|
||||||
if raw_mode
|
if raw_mode
|
||||||
{
|
{
|
||||||
let screen = Screen { stdout: Arc::new(TerminalOutput::new(true)), buffer: Vec::new() };
|
let screen = Screen { stdout: Arc::new(TerminalOutput::new(true)), buffer: Vec::new(), drop: true };
|
||||||
RawScreen::into_raw_mode().unwrap();
|
RawScreen::into_raw_mode().unwrap();
|
||||||
return screen;
|
return screen;
|
||||||
}
|
}
|
||||||
@ -111,7 +111,7 @@ impl From<Arc<TerminalOutput>> for Screen
|
|||||||
{
|
{
|
||||||
/// Create an screen with the given 'Arc<Stdout>'
|
/// Create an screen with the given 'Arc<Stdout>'
|
||||||
fn from(stdout: Arc<TerminalOutput>) -> Self {
|
fn from(stdout: Arc<TerminalOutput>) -> Self {
|
||||||
return Screen { stdout: stdout, buffer: Vec::new() drop: true};
|
return Screen { stdout: stdout, buffer: Vec::new(), drop: true};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user