Fix remnant of cursor not getting cleared, again
This commit is contained in:
parent
dd3a331226
commit
1dc961310e
@ -201,7 +201,7 @@ impl FramebufferWriter {
|
||||
.horizontal_line_metrics(12.0)
|
||||
.unwrap()
|
||||
.new_line_size
|
||||
.ceil() as usize;
|
||||
.ceil() as usize + 1;
|
||||
let char_width = font.metrics('a', 12.0).advance_width.ceil() as usize;
|
||||
println!(
|
||||
"Buffer is {}x{} px, ({} chars x {} lines)",
|
||||
|
Loading…
Reference in New Issue
Block a user