Skip to main content

write_cursor

Function write_cursor 

Source
pub fn write_cursor(cursor_path: &Path, id: &str) -> Result<()>
Expand description

Persist the cursor position to disk.

Creates parent directories if they do not exist (e.g. ~/.room/state/ on first run).