pub fn display_cursor<B>(f: &mut Frame<'_, B>, area: Rect, cursor: usize) where
    B: Backend