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)
|
.horizontal_line_metrics(12.0)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.new_line_size
|
.new_line_size
|
||||||
.ceil() as usize;
|
.ceil() as usize + 1;
|
||||||
let char_width = font.metrics('a', 12.0).advance_width.ceil() as usize;
|
let char_width = font.metrics('a', 12.0).advance_width.ceil() as usize;
|
||||||
println!(
|
println!(
|
||||||
"Buffer is {}x{} px, ({} chars x {} lines)",
|
"Buffer is {}x{} px, ({} chars x {} lines)",
|
||||||
|
Loading…
Reference in New Issue
Block a user