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

with_text_editor

Function with_text_editor 

Source
pub fn with_text_editor<R, F: FnOnce(&RwLock<TextEditor>) -> R>(
    f: F,
) -> Option<R>
Expand description

Execute a function with the text editor