⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

word_wrap

Function word_wrap 

Source
pub fn word_wrap(
    text: &str,
    max_width: FixedPoint,
    white_space: WhiteSpace,
) -> Vec<String>
Expand description

Word wrap: split text into lines that fit within a given width