Fix examples
This commit is contained in:
parent
333cf74fba
commit
a0602a941c
2 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue