Remove debug lines

This commit is contained in:
Alexandre Bury 2018-06-24 10:56:02 -07:00
parent 9043b177e9
commit a4111accce

View File

@ -716,23 +716,11 @@ impl Cursive {
// Probably, actually.
// TODO: Do we need to re-layout everytime?
self.layout();
eprintln!(
"After layout: {:?}",
::std::time::Instant::now() - step_start
);
// TODO: Do we need to redraw every view every time?
// (Is this getting repetitive? :p)
self.draw();
eprintln!(
"After draw: {:?}",
::std::time::Instant::now() - step_start
);
self.backend.refresh();
eprintln!(
"After refresh: {:?}",
::std::time::Instant::now() - step_start
);
// Wait for next event.
if self.received_event {
@ -793,10 +781,6 @@ impl Cursive {
}
Interruption::Timeout => {}
}
eprintln!(
"After event: {:?}",
::std::time::Instant::now() - step_start
);
}
/// Stops the event loop.