Rusty wrapper for the Unified Extensible Firmware Interface (UEFI). This crate makes it easy to develop Rust software that leverages safe, convenient, and performant abstractions for UEFI functionality.
You can do this by printing a backspace character (numeric value of 8). Here's a simple example, which I tested in both a VM on a Lenovo Thinkpad X1 Carbon:
#![no_main]
#![no_std]
use uefi::prelude::*;
use uefi::print;
#[entry]
fn main() -> Status {
uefi::helpers::init().unwrap();
print!("abcdefghijklmnopqrstuvwxyz");
for _ in 0..26 {
// Pause briefly.
boot::stall(500_000);
// Print backspace character.
print!("\x08");
}
Status::SUCCESS
}
This prints abcdefghijklmnopqrstuvwxyz, then slowly removes characters one at a time.
You can do this by printing a backspace character (numeric value of 8). Here's a simple example, which I tested in both a VM on a Lenovo Thinkpad X1 Carbon:
This prints
abcdefghijklmnopqrstuvwxyz
, then slowly removes characters one at a time.