bernardo-tui 0.2.7

A keyboard-only, distraction-free TUI widget library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// use libfuzzer_sys::arbitrary::{Arbitrary, Result, Unstructured};
//
// use crate::cursor::cursor::Selection;
//
// impl<'a> Arbitrary<'a> for Selection {
//     fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self> {
//         let b: u16 = u.arbitrary()?;
//         let len: u16 = u.arbitrary()?;
//         Ok(Selection {
//             b: b as usize,
//             e: b as usize + len as usize,
//         })
//     }
// }