Fix examples

This commit is contained in:
Joscha 2022-06-15 14:02:30 +02:00
parent 333cf74fba
commit a0602a941c
2 changed files with 2 additions and 0 deletions

View file

@ -64,6 +64,7 @@ fn render_frame(term: &mut Terminal) {
term.autoresize().unwrap(); term.autoresize().unwrap();
draw(term.frame()); draw(term.frame());
term.present().unwrap();
if term.measuring_required() { if term.measuring_required() {
term.measure_widths().unwrap(); term.measure_widths().unwrap();

View file

@ -35,6 +35,7 @@ fn render_frame(term: &mut Terminal) {
term.autoresize().unwrap(); term.autoresize().unwrap();
draw(term.frame()); draw(term.frame());
term.present().unwrap();
if term.measuring_required() { if term.measuring_required() {
term.measure_widths().unwrap(); term.measure_widths().unwrap();