mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Remove debug lines
This commit is contained in:
parent
9043b177e9
commit
a4111accce
@ -716,23 +716,11 @@ impl Cursive {
|
|||||||
// Probably, actually.
|
// Probably, actually.
|
||||||
// TODO: Do we need to re-layout everytime?
|
// TODO: Do we need to re-layout everytime?
|
||||||
self.layout();
|
self.layout();
|
||||||
eprintln!(
|
|
||||||
"After layout: {:?}",
|
|
||||||
::std::time::Instant::now() - step_start
|
|
||||||
);
|
|
||||||
|
|
||||||
// TODO: Do we need to redraw every view every time?
|
// TODO: Do we need to redraw every view every time?
|
||||||
// (Is this getting repetitive? :p)
|
// (Is this getting repetitive? :p)
|
||||||
self.draw();
|
self.draw();
|
||||||
eprintln!(
|
|
||||||
"After draw: {:?}",
|
|
||||||
::std::time::Instant::now() - step_start
|
|
||||||
);
|
|
||||||
self.backend.refresh();
|
self.backend.refresh();
|
||||||
eprintln!(
|
|
||||||
"After refresh: {:?}",
|
|
||||||
::std::time::Instant::now() - step_start
|
|
||||||
);
|
|
||||||
|
|
||||||
// Wait for next event.
|
// Wait for next event.
|
||||||
if self.received_event {
|
if self.received_event {
|
||||||
@ -793,10 +781,6 @@ impl Cursive {
|
|||||||
}
|
}
|
||||||
Interruption::Timeout => {}
|
Interruption::Timeout => {}
|
||||||
}
|
}
|
||||||
eprintln!(
|
|
||||||
"After event: {:?}",
|
|
||||||
::std::time::Instant::now() - step_start
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Stops the event loop.
|
/// Stops the event loop.
|
||||||
|
Loading…
Reference in New Issue
Block a user