Expose Widthdb directly via Frame
This commit is contained in:
parent
24fd0050fb
commit
f258c84094
4 changed files with 15 additions and 25 deletions
|
|
@ -43,7 +43,7 @@ fn draw(f: &mut Frame) {
|
|||
Pos::new(0, 13),
|
||||
"scientist emoji as a woman and a microscope: 👩🔬",
|
||||
);
|
||||
for i in 0..(f.width(scientist) + 4) {
|
||||
for i in 0..(f.widthdb().width(scientist) + 4) {
|
||||
f.write(Pos::new(2, 15 + i as i32), (scientist, under));
|
||||
f.write(Pos::new(i as i32, 15 + i as i32), ("x", over));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue