pub fn serialize_cursor_shape(cursor_shape: &CursorShape) -> CursorShape